svn commit: r399219 - head/devel/py-usb
Max Brazhnikov
makc at FreeBSD.org
Tue Oct 13 20:36:20 UTC 2015
Author: makc
Date: Tue Oct 13 20:36:18 2015
New Revision: 399219
URL: https://svnweb.freebsd.org/changeset/ports/399219
Log:
devel/py-usb:
- Use options helpers
- Allow concurrent python installations
PR: 202888
Approved by: sbz (maintainer timeout 5 weeks)
Modified:
head/devel/py-usb/Makefile
Modified: head/devel/py-usb/Makefile
==============================================================================
--- head/devel/py-usb/Makefile Tue Oct 13 20:35:29 2015 (r399218)
+++ head/devel/py-usb/Makefile Tue Oct 13 20:36:18 2015 (r399219)
@@ -2,6 +2,7 @@
PORTNAME= usb
PORTVERSION= 1.0.0b1
+PORTREVISION= 1
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,19 +12,18 @@ COMMENT= Python wrapper around libusb
LICENSE= BSD3CLAUSE
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist concurrent distutils
USE_GITHUB= yes
GH_ACCOUNT= walac
GH_PROJECT= py${PORTNAME}
GH_TAGNAME= 0546cad
-DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX:C/...$//}-${PORTNAME}
PORTDOCS= *.rst
OPTIONS_DEFINE= DOCS
-post-install:
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR}
More information about the svn-ports-head
mailing list