aboutsummaryrefslogtreecommitdiff
path: root/mail/postfinger
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-21 09:25:14 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-21 09:25:14 +0000
commit9cf40e5f5af3a9c5ece1f6a55a2bc7843c793648 (patch)
tree4cf14e8705ed33d638bac6ffeeeb721afbd45602 /mail/postfinger
parentfa4463a4a5918efda4cc160ce393c496ec10fa5d (diff)
downloadports-9cf40e5f5af3a9c5ece1f6a55a2bc7843c793648.tar.gz
ports-9cf40e5f5af3a9c5ece1f6a55a2bc7843c793648.zip
Support staging
Notes
Notes: svn path=/head/; revision=345341
Diffstat (limited to 'mail/postfinger')
-rw-r--r--mail/postfinger/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/mail/postfinger/Makefile b/mail/postfinger/Makefile
index 30a3810126a1..6ab339ec4a77 100644
--- a/mail/postfinger/Makefile
+++ b/mail/postfinger/Makefile
@@ -17,18 +17,17 @@ EXTRACT_AFTER_ARGS= ${WRKDIR}
NO_BUILD= yes
WRKSRC= ${WRKDIR}
-PLIST_FILES= bin/postfinger
+PLIST_FILES= bin/postfinger
+PORTDOCS= README
-PORTDOCS= README
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>