aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-04-10 02:07:15 +0800
committerarved <arved@FreeBSD.org>2003-04-10 02:07:15 +0800
commit5a5d2bc6ba8170c68a4d8b509a962dbf608b3757 (patch)
tree237475022818dceec24a52ec7cae2fd0fba4c5e3
parent93782c49bb78797a54ebc6d72d0a4eab357be27b (diff)
downloadfreebsd-ports-gnome-5a5d2bc6ba8170c68a4d8b509a962dbf608b3757.tar.gz
freebsd-ports-gnome-5a5d2bc6ba8170c68a4d8b509a962dbf608b3757.tar.zst
freebsd-ports-gnome-5a5d2bc6ba8170c68a4d8b509a962dbf608b3757.zip
Fix python path. Bump PORTREVISION.
PR: 50407 Submitted by: Linh Pham <question@closedsrc.org>
-rw-r--r--mail/pyzor/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/pyzor/Makefile b/mail/pyzor/Makefile
index 07c218b95cb0..cf11efe79579 100644
--- a/mail/pyzor/Makefile
+++ b/mail/pyzor/Makefile
@@ -8,6 +8,7 @@
PORTNAME= pyzor
PORTVERSION= 0.4.0
+PORTREVISION= 1
CATEGORIES= mail python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,5 +19,10 @@ COMMENT= A collaborative, networked system to detect and block spam
USE_BZIP2= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+USE_REINPLACE= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e "s,/usr/bin/python2,${PYTHON_CMD}," \
+ ${WRKSRC}/scripts/pyzor ${WRKSRC}/scripts/pyzord
.include <bsd.port.mk>