aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2017-04-21 19:43:28 +0800
committermiwi <miwi@FreeBSD.org>2017-04-21 19:43:28 +0800
commit78b06553b32e65b170343bbcf8ffe017e82e41b2 (patch)
tree99985b0f601535a82a55bca855b8f3cd8e34a16c
parent38a7be66664b10cbcd48d028b551e8865164e510 (diff)
downloadfreebsd-ports-gnome-78b06553b32e65b170343bbcf8ffe017e82e41b2.tar.gz
freebsd-ports-gnome-78b06553b32e65b170343bbcf8ffe017e82e41b2.tar.zst
freebsd-ports-gnome-78b06553b32e65b170343bbcf8ffe017e82e41b2.zip
- Fix shebangs
- Added options helper
-rw-r--r--net/py-netaddr/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/py-netaddr/Makefile b/net/py-netaddr/Makefile
index 82f864653b56..5e9b7e86f7a1 100644
--- a/net/py-netaddr/Makefile
+++ b/net/py-netaddr/Makefile
@@ -3,6 +3,7 @@
PORTNAME= netaddr
PORTVERSION= 0.7.18
+PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,14 +14,16 @@ COMMENT= Manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses
LICENSE= BSD3CLAUSE MIT
LICENSE_COMB= multi
-USES= python
+USES= python shebangfix
USE_PYTHON= autoplist concurrent distutils
+SHEBANG_FILES= netaddr/tools/netaddr
+NO_ARCH= yes
-NO_ARCH= yes
+OPTIONS_DEFINE= DOCS
PORTDOCS= AUTHORS CHANGELOG README.md
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}