aboutsummaryrefslogtreecommitdiff
path: root/mail/pyzor
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-09-13 19:33:38 +0000
committerChris Rees <crees@FreeBSD.org>2012-09-13 19:33:38 +0000
commitc9633df3f67f2d2c27df16a72d4b951a056c3338 (patch)
tree1ce94a1bee3e6d14e6cfd90645e6cba636c067a8 /mail/pyzor
parentb5a43555275c77360407c3c13576ef3eff138776 (diff)
downloadports-c9633df3f67f2d2c27df16a72d4b951a056c3338.tar.gz
ports-c9633df3f67f2d2c27df16a72d4b951a056c3338.zip
Small changes to ignore deprecation Python warnings
PR: ports/171607 Submitted by: Thomas Vogt <thomas@bsdunix.ch> (based on) Approved by: maintainer (Corey Halpin <chalpin@cs.wisc.edu>) While here, anchor and optimise regex
Notes
Notes: svn path=/head/; revision=304228
Diffstat (limited to 'mail/pyzor')
-rw-r--r--mail/pyzor/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/pyzor/Makefile b/mail/pyzor/Makefile
index ad63862bc49c..ba48923393e8 100644
--- a/mail/pyzor/Makefile
+++ b/mail/pyzor/Makefile
@@ -8,7 +8,7 @@
PORTNAME= pyzor
PORTVERSION= 0.5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail python
MASTER_SITES= SF
@@ -22,8 +22,8 @@ USE_PYDISTUTILS= yes
MAN1= pyzor.1 pyzord.1
post-patch:
- ${REINPLACE_CMD} -e "s,/usr/bin/python2,${PYTHON_CMD}," \
- ${WRKSRC}/scripts/pyzor ${WRKSRC}/scripts/pyzord
+ ${REINPLACE_CMD} -e '1s,^#!/usr/bin/python,#!/usr/bin/env -S python -Wignore::DeprecationWarning,' \
+ ${WRKSRC}/scripts/pyzor ${WRKSRC}/scripts/pyzord
post-install:
${CHMOD} ${SHAREMODE} ${DOCSDIR}/usage.html