svn commit: r366745 - head/mail/postfix-policyd-sf

Olli Hauer ohauer at FreeBSD.org
Sun Aug 31 11:02:47 UTC 2014


Author: ohauer
Date: Sun Aug 31 11:02:46 2014
New Revision: 366745
URL: http://svnweb.freebsd.org/changeset/ports/366745
QAT: https://qat.redports.org/buildarchive/r366745/

Log:
  - add stage support

Modified:
  head/mail/postfix-policyd-sf/Makefile
  head/mail/postfix-policyd-sf/pkg-descr

Modified: head/mail/postfix-policyd-sf/Makefile
==============================================================================
--- head/mail/postfix-policyd-sf/Makefile	Sun Aug 31 11:01:04 2014	(r366744)
+++ head/mail/postfix-policyd-sf/Makefile	Sun Aug 31 11:02:46 2014	(r366745)
@@ -12,7 +12,7 @@ MASTER_SITES=	SF/${PORTNAME}/1.x%20%28Ol
 PKGNAMEPREFIX=	postfix-
 PKGNAMESUFFIX=	-sf
 
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Anti-spam plugin for Postfix (written in C)
 
 USE_MYSQL=	yes
@@ -34,19 +34,16 @@ PLIST_FILES=	sbin/${REALNAME}-cleanup \
 		sbin/${REALNAME} \
 		etc/${REALNAME}.conf.sample
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's,policyd.pid,postfix-policyd-sf.pid,' \
 		${WRKSRC}/policyd.conf
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/cleanup ${PREFIX}/sbin/${REALNAME}-cleanup
-	${INSTALL_PROGRAM} ${WRKSRC}/stats ${PREFIX}/sbin/${REALNAME}-stats
-	${INSTALL_PROGRAM} ${WRKSRC}/policyd ${PREFIX}/sbin/${REALNAME}
-	${INSTALL_DATA} ${WRKSRC}/policyd.conf ${PREFIX}/etc/${REALNAME}.conf.sample
-.if !defined(NOPORTDOCS)
-	@${INSTALL} -d ${DOCSDIR}/
-	cd ${WRKSRC}&&${INSTALL_DATA} ${DOCS} ${DOCSDIR}/
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/cleanup ${STAGEDIR}${PREFIX}/sbin/${REALNAME}-cleanup
+	${INSTALL_PROGRAM} ${WRKSRC}/stats ${STAGEDIR}${PREFIX}/sbin/${REALNAME}-stats
+	${INSTALL_PROGRAM} ${WRKSRC}/policyd ${STAGEDIR}${PREFIX}/sbin/${REALNAME}
+	${INSTALL_DATA} ${WRKSRC}/policyd.conf ${STAGEDIR}${PREFIX}/etc/${REALNAME}.conf.sample
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/mail/postfix-policyd-sf/pkg-descr
==============================================================================
--- head/mail/postfix-policyd-sf/pkg-descr	Sun Aug 31 11:01:04 2014	(r366744)
+++ head/mail/postfix-policyd-sf/pkg-descr	Sun Aug 31 11:02:46 2014	(r366745)
@@ -9,5 +9,4 @@ Policyd is an anti-spam plugin for Postf
  o HELO randomization preventation,
  o Sender mail addresses or domain Sender blacklisting
 
-Author:	cami at mweb.co.za
-WWW:	http://policyd.sourceforge.net/
+WWW: http://www.policyd.org/


More information about the svn-ports-all mailing list