aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2015-10-14 04:36:18 +0800
committermakc <makc@FreeBSD.org>2015-10-14 04:36:18 +0800
commitc5ec08993a60881a52ab272ce3062ca0b811edb3 (patch)
tree91f65958d246f847092216aff8ad787b728d6990
parentdfbaba426b5b8acebfda59e9cfdf4553cd97a26e (diff)
downloadfreebsd-ports-gnome-c5ec08993a60881a52ab272ce3062ca0b811edb3.tar.gz
freebsd-ports-gnome-c5ec08993a60881a52ab272ce3062ca0b811edb3.tar.zst
freebsd-ports-gnome-c5ec08993a60881a52ab272ce3062ca0b811edb3.zip
devel/py-usb:
- Use options helpers - Allow concurrent python installations PR: 202888 Approved by: sbz (maintainer timeout 5 weeks)
-rw-r--r--devel/py-usb/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/py-usb/Makefile b/devel/py-usb/Makefile
index 7254fb6e5b6b..ffaf73587551 100644
--- a/devel/py-usb/Makefile
+++ b/devel/py-usb/Makefile
@@ -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}