diff options
author | wg <wg@FreeBSD.org> | 2013-10-22 17:53:35 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-10-22 17:53:35 +0800 |
commit | bcac454abce0fb4295b0e24788a325bf40e478dd (patch) | |
tree | 95a7b6f04a56682501c63aa452aa8426d650458d /mail | |
parent | 538943335972045c7e67e75dbaf6321b1e5d64db (diff) | |
download | freebsd-ports-gnome-bcac454abce0fb4295b0e24788a325bf40e478dd.tar.gz freebsd-ports-gnome-bcac454abce0fb4295b0e24788a325bf40e478dd.tar.zst freebsd-ports-gnome-bcac454abce0fb4295b0e24788a325bf40e478dd.zip |
mail/pyzor: add missing dependency
- Add missing dependency [1]
- Allow staging
- Use autoplist
- Remove leading article from COMMENT
PR: ports/182200 [1]
Diffstat (limited to 'mail')
-rw-r--r-- | mail/pyzor/Makefile | 19 | ||||
-rw-r--r-- | mail/pyzor/pkg-plist | 14 |
2 files changed, 11 insertions, 22 deletions
diff --git a/mail/pyzor/Makefile b/mail/pyzor/Makefile index c5bc0a879ab1..14ad777804b2 100644 --- a/mail/pyzor/Makefile +++ b/mail/pyzor/Makefile @@ -3,28 +3,31 @@ PORTNAME= pyzor PORTVERSION= 0.5.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail python MASTER_SITES= SF MAINTAINER= chalpin@cs.wisc.edu -COMMENT= A collaborative, networked system to detect and block spam +COMMENT= Collaborative, networked system to detect and block spam + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdbm>=0:${PORTSDIR}/databases/py-gdbm USE_BZIP2= yes USE_PYTHON= yes USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes -MAN1= pyzor.1 pyzord.1 +PLIST_FILES= man/man1/pyzor.1.gz \ + man/man1/pyzord.1.gz -NO_STAGE= yes post-patch: ${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 - ${CHMOD} ${BINMODE} ${PREFIX}/bin/pyzor ${PREFIX}/bin/pyzord - ${INSTALL_MAN} ${WRKSRC}/docs/pyzor.1 ${MAN1PREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/docs/pyzord.1 ${MAN1PREFIX}/man/man1 + ${CHMOD} ${SHAREMODE} ${STAGEDIR}${DOCSDIR}/usage.html + ${CHMOD} ${BINMODE} ${STAGEDIR}${PREFIX}/bin/pyzor ${STAGEDIR}${PREFIX}/bin/pyzord + ${INSTALL_MAN} ${WRKSRC}/docs/pyzor.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/docs/pyzord.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include <bsd.port.mk> diff --git a/mail/pyzor/pkg-plist b/mail/pyzor/pkg-plist deleted file mode 100644 index 551363f0537c..000000000000 --- a/mail/pyzor/pkg-plist +++ /dev/null @@ -1,14 +0,0 @@ -bin/pyzor -bin/pyzord -%%PYTHON_SITELIBDIR%%/pyzor/__init__.py -%%PYTHON_SITELIBDIR%%/pyzor/__init__.pyc -%%PYTHON_SITELIBDIR%%/pyzor/__init__.pyo -%%PYTHON_SITELIBDIR%%/pyzor/client.py -%%PYTHON_SITELIBDIR%%/pyzor/client.pyc -%%PYTHON_SITELIBDIR%%/pyzor/client.pyo -%%PYTHON_SITELIBDIR%%/pyzor/server.py -%%PYTHON_SITELIBDIR%%/pyzor/server.pyc -%%PYTHON_SITELIBDIR%%/pyzor/server.pyo -%%DOCSDIR%%/usage.html -@dirrm %%PYTHON_SITELIBDIR%%/pyzor -@dirrm %%DOCSDIR%% |