aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2017-10-25 14:16:11 +0800
committerse <se@FreeBSD.org>2017-10-25 14:16:11 +0800
commitee731a4a459c902677b79438bf021d11fa874732 (patch)
tree09fb9c523744ba92d8059a8574fcb5ffca44a54c /ports-mgmt
parent5c7c733697f9a8756cf197517ca4c7e3d695359c (diff)
downloadfreebsd-ports-gnome-ee731a4a459c902677b79438bf021d11fa874732.tar.gz
freebsd-ports-gnome-ee731a4a459c902677b79438bf021d11fa874732.tar.zst
freebsd-ports-gnome-ee731a4a459c902677b79438bf021d11fa874732.zip
Add missing USES=shebangfix.
Approved by: antoine (implicit)
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/porttree/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/ports-mgmt/porttree/Makefile b/ports-mgmt/porttree/Makefile
index 76dcdfeb0a2c..268040e53096 100644
--- a/ports-mgmt/porttree/Makefile
+++ b/ports-mgmt/porttree/Makefile
@@ -3,6 +3,7 @@
PORTNAME= porttree
PORTVERSION= 0.3.r${SVN_REV}
+PORTREVISION= 1
CATEGORIES= ports-mgmt python
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -12,7 +13,7 @@ COMMENT= Show dependences of FreeBSD port as pseudo graphical tree
LICENSE= MIT
-USES= python tar:bzip2
+USES= python tar:bzip2 shebangfix
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}networkx>=1.5:math/py-networkx
@@ -26,6 +27,8 @@ NO_BUILD= yes
PLIST_FILES= bin/porttree man/man1/porttree.1.gz
NO_ARCH= yes
+SHEBANG_FILES= src/porttree.py
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/porttree.py ${STAGEDIR}${PREFIX}/bin/porttree
${INSTALL_MAN} ${WRKSRC}/src/porttree.1 ${STAGEDIR}${MANPREFIX}/man/man1