svn commit: r331246 - head/mail/pyzor

William Grzybowski wg at FreeBSD.org
Tue Oct 22 09:53:36 UTC 2013


Author: wg
Date: Tue Oct 22 09:53:35 2013
New Revision: 331246
URL: http://svnweb.freebsd.org/changeset/ports/331246

Log:
  mail/pyzor: add missing dependency
  
  - Add missing dependency [1]
  - Allow staging
  - Use autoplist
  - Remove leading article from COMMENT
  
  PR:		ports/182200 [1]

Deleted:
  head/mail/pyzor/pkg-plist
Modified:
  head/mail/pyzor/Makefile

Modified: head/mail/pyzor/Makefile
==============================================================================
--- head/mail/pyzor/Makefile	Tue Oct 22 09:37:51 2013	(r331245)
+++ head/mail/pyzor/Makefile	Tue Oct 22 09:53:35 2013	(r331246)
@@ -3,28 +3,31 @@
 
 PORTNAME=	pyzor
 PORTVERSION=	0.5.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	mail python
 MASTER_SITES=	SF
 
 MAINTAINER=	chalpin at 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>


More information about the svn-ports-all mailing list