summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2017-04-19 16:45:17 +0000
committermiwi <miwi@FreeBSD.org>2017-04-19 16:45:17 +0000
commit5a61a161c95ed5cae546c08c5c02a928d51804e1 (patch)
treef5e9ee8abbd063b7cf3182ed072c86bbd584b816
parentf06a9cc5f0d3c6ef1133a0aaa4a27cbb697ed300 (diff)
downloadFreeBSD-ports-5a61a161c95ed5cae546c08c5c02a928d51804e1.zip
FreeBSD-ports-5a61a161c95ed5cae546c08c5c02a928d51804e1.tar.gz
- Fix shebangs
-rw-r--r--devel/pythontidy/Makefile3
-rw-r--r--mail/archivemail/Makefile6
-rw-r--r--misc/wotsap/Makefile5
3 files changed, 9 insertions, 5 deletions
diff --git a/devel/pythontidy/Makefile b/devel/pythontidy/Makefile
index 8e11c54..2e8785d 100644
--- a/devel/pythontidy/Makefile
+++ b/devel/pythontidy/Makefile
@@ -3,6 +3,7 @@
PORTNAME= pythontidy
PORTVERSION= 1.23
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://www.lacusveris.com/PythonTidy/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -25,7 +26,7 @@ do-extract:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKDIR}
do-patch:
- ${REINPLACE_CMD} -e 's,#!/usr/bin/python,#!/usr/bin/env python,' \
+ ${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \
${WRKDIR}/${DISTFILES}
do-install:
diff --git a/mail/archivemail/Makefile b/mail/archivemail/Makefile
index fde62a3..cbc579f 100644
--- a/mail/archivemail/Makefile
+++ b/mail/archivemail/Makefile
@@ -3,7 +3,7 @@
PORTNAME= archivemail
PORTVERSION= 0.9.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/
@@ -13,9 +13,11 @@ COMMENT= Archive or delete mail older than N days
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= python
+USES= python shebangfix
NO_BUILD= yes
NO_ARCH= yes
+SHEBANG_FILES= mail \
+ test_archivemail
DOCS= CHANGELOG FAQ NEWS README TODO
EXAMPLES= test_archivemail examples/archivemail_all
diff --git a/misc/wotsap/Makefile b/misc/wotsap/Makefile
index 2639ee1..e33ecfd 100644
--- a/misc/wotsap/Makefile
+++ b/misc/wotsap/Makefile
@@ -3,7 +3,7 @@
PORTNAME= wotsap
PORTVERSION= 0.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://www.lysator.liu.se/~jc/wotsap/download/
EXTRACT_SUFX= .tgz
@@ -13,8 +13,9 @@ COMMENT= Web of trust statistics and pathfinder
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow
-USES= python:2,run
+USES= python:2,run shebangfix
NO_BUILD= yes
+SHEBANG_FILES= wotsap pks2wot
PLIST_FILES= bin/pks2wot bin/wotsap
PORTSCOUT= ignore:1
OpenPOWER on IntegriCloud