aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2014-08-31 19:02:46 +0800
committerohauer <ohauer@FreeBSD.org>2014-08-31 19:02:46 +0800
commitcc6352d142ee8aeb87a368b2c2dafbfc2b553b55 (patch)
treeb8b1bd08ea6d703fd01822726dbab5d8684a6dfa
parent075b4bd1e449be52f20fc34bfe58fb48177b94a0 (diff)
downloadfreebsd-ports-gnome-cc6352d142ee8aeb87a368b2c2dafbfc2b553b55.tar.gz
freebsd-ports-gnome-cc6352d142ee8aeb87a368b2c2dafbfc2b553b55.tar.zst
freebsd-ports-gnome-cc6352d142ee8aeb87a368b2c2dafbfc2b553b55.zip
- add stage support
-rw-r--r--mail/postfix-policyd-sf/Makefile17
-rw-r--r--mail/postfix-policyd-sf/pkg-descr3
2 files changed, 8 insertions, 12 deletions
diff --git a/mail/postfix-policyd-sf/Makefile b/mail/postfix-policyd-sf/Makefile
index c1e280b0c11d..ec9f453128f2 100644
--- a/mail/postfix-policyd-sf/Makefile
+++ b/mail/postfix-policyd-sf/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES= SF/${PORTNAME}/1.x%20%28Old%20Stable%29/v${PORTVERSION} \
PKGNAMEPREFIX= postfix-
PKGNAMESUFFIX= -sf
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@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>
diff --git a/mail/postfix-policyd-sf/pkg-descr b/mail/postfix-policyd-sf/pkg-descr
index af6a6c256f2e..9fbff0deb9e9 100644
--- a/mail/postfix-policyd-sf/pkg-descr
+++ b/mail/postfix-policyd-sf/pkg-descr
@@ -9,5 +9,4 @@ Policyd is an anti-spam plugin for Postfix (written in C) that does :
o HELO randomization preventation,
o Sender mail addresses or domain Sender blacklisting
-Author: cami@mweb.co.za
-WWW: http://policyd.sourceforge.net/
+WWW: http://www.policyd.org/