aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-21 17:25:14 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-21 17:25:14 +0800
commitf7cacb6ff8969e92d5cf1fc130b8a09e0e7cb443 (patch)
tree4cf14e8705ed33d638bac6ffeeeb721afbd45602 /mail
parent00a010cfc07e3bf373125271d8b9d3daaa82e595 (diff)
downloadfreebsd-ports-gnome-f7cacb6ff8969e92d5cf1fc130b8a09e0e7cb443.tar.gz
freebsd-ports-gnome-f7cacb6ff8969e92d5cf1fc130b8a09e0e7cb443.tar.zst
freebsd-ports-gnome-f7cacb6ff8969e92d5cf1fc130b8a09e0e7cb443.zip
Support staging
Diffstat (limited to 'mail')
-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>