aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2014-02-22 23:22:03 +0800
committermva <mva@FreeBSD.org>2014-02-22 23:22:03 +0800
commit760f681586d91b5267f835d2a1a58617bc23b0a2 (patch)
treed0d138450b37639eea838444c72e56f5144e3367
parent4b85487187c52dcf37d53c3387e5c18d2171e6a0 (diff)
downloadfreebsd-ports-gnome-760f681586d91b5267f835d2a1a58617bc23b0a2.tar.gz
freebsd-ports-gnome-760f681586d91b5267f835d2a1a58617bc23b0a2.tar.zst
freebsd-ports-gnome-760f681586d91b5267f835d2a1a58617bc23b0a2.zip
- Respect DOCSDIR
PR: ports/185947 With hat: python@
-rw-r--r--mail/pyzor/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/pyzor/Makefile b/mail/pyzor/Makefile
index 14ad777804b2..1275cb7e1cc0 100644
--- a/mail/pyzor/Makefile
+++ b/mail/pyzor/Makefile
@@ -3,7 +3,7 @@
PORTNAME= pyzor
PORTVERSION= 0.5.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail python
MASTER_SITES= SF
@@ -23,6 +23,7 @@ PLIST_FILES= man/man1/pyzor.1.gz \
post-patch:
${REINPLACE_CMD} -e '1s,^#!/usr/bin/python,#!/usr/bin/env -S python -Wignore::DeprecationWarning,' \
${WRKSRC}/scripts/pyzor ${WRKSRC}/scripts/pyzord
+ ${REINPLACE_CMD} -e 's|share/doc/pyzor|${DOCSDIR}|' ${WRKSRC}/setup.py
post-install:
${CHMOD} ${SHAREMODE} ${STAGEDIR}${DOCSDIR}/usage.html