Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2014 19:13:19 +0200
From:      Marcus von Appen <mva@freebsd.org>
To:        Sofian Brabez <sbz@freebsd.org>
Cc:        svn-ports-head@freebsd.org, Alexey Dokuchaev <danfe@freebsd.org>, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r362772 - in head/devel: . py-colorlog
Message-ID:  <20140724191319.Horde.2pOmv1BGUsn3LpJkQ4EPhQ1@webmail.df.eu>
In-Reply-To: <20140724164505.GA50194@ogoshi.int.nbs-system.com>
References:  <201407240932.s6O9WjEe028990@svn.freebsd.org> <20140724155705.Horde.R0ccepheGn08mElrGTLytQ1@webmail.df.eu> <20140724142540.GA26619@FreeBSD.org> <20140724164505.GA50194@ogoshi.int.nbs-system.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Quoting Sofian Brabez <sbz@freebsd.org>:

> On Thu, Jul 24, 2014 at 02:25:40PM +0000, Alexey Dokuchaev wrote:
>> On Thu, Jul 24, 2014 at 03:57:05PM +0200, Marcus von Appen wrote:
>> > Alexey Dokuchaev <danfe@freebsd.org>:
>> > >+USE_PYTHON=		yes
>> > >+USE_PYDISTUTILS=	yes
>> > >+PYDISTUTILS_AUTOPLIST=	yes
>> > >+
>> > >+DOCSDIR=	${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
>> >
>
> Also I suggest you to use something like below:
>
> DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX:C/...$//}-${PORTNAME}
>
> To respect and have only a directory for the document directory,  
> otherwise you
> will end with ${LOCALBASE}share/py2X-portname and
> ${LOCALBASE}/share/doc/py3x-portname on the file system.

Which you do not want, if you plan to install packages for both
versions at the same time (afaik supported by pkg soon).

Cheers
Marcus




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140724191319.Horde.2pOmv1BGUsn3LpJkQ4EPhQ1>