aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-18 15:42:43 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-18 15:42:43 +0800
commit90e61fa353fb97ea73c6f9259cb18caf19002268 (patch)
tree7d8b08c77b295150e9911016fe0356ab729a5c5e /mail
parent299db43edc141be45be6a4f9104f74ead6254fa5 (diff)
downloadfreebsd-ports-gnome-90e61fa353fb97ea73c6f9259cb18caf19002268.tar.gz
freebsd-ports-gnome-90e61fa353fb97ea73c6f9259cb18caf19002268.tar.zst
freebsd-ports-gnome-90e61fa353fb97ea73c6f9259cb18caf19002268.zip
Support staging
Diffstat (limited to 'mail')
-rw-r--r--mail/spamstats/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/mail/spamstats/Makefile b/mail/spamstats/Makefile
index 49138c39d2ad..8619e8cda9eb 100644
--- a/mail/spamstats/Makefile
+++ b/mail/spamstats/Makefile
@@ -21,22 +21,18 @@ PLIST_FILES= bin/spamstats.pl
USES= shebangfix perl5
SHEBANG_FILES= ${PORTNAME}${PORTVERSION}.pl
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -i '' -e 's|mail.log|maillog|g' \
${WRKSRC}/${PORTNAME}${PORTVERSION}.pl
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl ${PREFIX}/bin/${PORTNAME}.pl
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl \
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}.pl
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>