svn commit: r362772 - in head/devel: . py-colorlog

Sofian Brabez sbz at FreeBSD.org
Thu Jul 24 16:45:12 UTC 2014


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 at 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.

In case, it's installed with both 2.X and 3.X version of Python, generally the
documents remains the same.

I used this substition to remove the characters -X.Y recently in r362646 [1]

Regards

[1] https://svnweb.freebsd.org/ports/head/devel/py-usb/Makefile?annotate=362646&pathrev=362646#l23

--
Sofian Brabez
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20140724/e7ed36b1/attachment.sig>


More information about the svn-ports-all mailing list