Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2017 16:45:17 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438894 - in head: devel/pythontidy mail/archivemail misc/wotsap
Message-ID:  <201704191645.v3JGjHDm095445@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Wed Apr 19 16:45:17 2017
New Revision: 438894
URL: https://svnweb.freebsd.org/changeset/ports/438894

Log:
  - Fix shebangs

Modified:
  head/devel/pythontidy/Makefile
  head/mail/archivemail/Makefile
  head/misc/wotsap/Makefile

Modified: head/devel/pythontidy/Makefile
==============================================================================
--- head/devel/pythontidy/Makefile	Wed Apr 19 16:42:07 2017	(r438893)
+++ head/devel/pythontidy/Makefile	Wed Apr 19 16:45:17 2017	(r438894)
@@ -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:

Modified: head/mail/archivemail/Makefile
==============================================================================
--- head/mail/archivemail/Makefile	Wed Apr 19 16:42:07 2017	(r438893)
+++ head/mail/archivemail/Makefile	Wed Apr 19 16:45:17 2017	(r438894)
@@ -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 th
 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

Modified: head/misc/wotsap/Makefile
==============================================================================
--- head/misc/wotsap/Makefile	Wed Apr 19 16:42:07 2017	(r438893)
+++ head/misc/wotsap/Makefile	Wed Apr 19 16:45:17 2017	(r438894)
@@ -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 pat
 
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704191645.v3JGjHDm095445>