aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-25 16:44:44 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-25 16:44:44 +0800
commit1d980b7aae43657be4d0399e3273a1466014b21a (patch)
tree5f7039ff046feff5f0889460f7898c4eea11ee19 /net
parent340f740c48880ca382db73eeeacca2248e3ea36c (diff)
downloadfreebsd-ports-gnome-1d980b7aae43657be4d0399e3273a1466014b21a.tar.gz
freebsd-ports-gnome-1d980b7aae43657be4d0399e3273a1466014b21a.tar.zst
freebsd-ports-gnome-1d980b7aae43657be4d0399e3273a1466014b21a.zip
Support staging
Diffstat (limited to 'net')
-rw-r--r--net/zsync/Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/net/zsync/Makefile b/net/zsync/Makefile
index 0370379cac71..f42985c2b517 100644
--- a/net/zsync/Makefile
+++ b/net/zsync/Makefile
@@ -11,20 +11,21 @@ COMMENT= A file transfer program
USE_BZIP2= yes
GNU_CONFIGURE= yes
-PLIST_FILES= bin/zsync \
- bin/zsyncmake
-BINS= zsync zsyncmake
+
PORTDOCS= COPYING INSTALL NEWS README
-MAN1= zsync.1 \
- zsyncmake.1
+PLIST_FILES= bin/zsync bin/zsyncmake \
+ man/man1/zsync.1.gz man/man1/zsyncmake.1.gz
+
+MANPAGE= zsync.1 zsyncmake.1
+BINS= zsync zsyncmake
+
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${PREFIX}/bin
- ${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/doc/,} ${MAN1PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${MANPAGE:S,^,${WRKSRC}/doc/,} \
+ ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>