aboutsummaryrefslogtreecommitdiff
path: root/net/zsync
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-25 08:44:44 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-25 08:44:44 +0000
commit2ec5b68aa0cd7f5492ed99a4f03524f8bf2cbdd0 (patch)
tree5f7039ff046feff5f0889460f7898c4eea11ee19 /net/zsync
parent093d0f20673cb4c7e12c1615277dfe876e08d0b3 (diff)
downloadports-2ec5b68aa0cd7f5492ed99a4f03524f8bf2cbdd0.tar.gz
ports-2ec5b68aa0cd7f5492ed99a4f03524f8bf2cbdd0.zip
Notes
Diffstat (limited to 'net/zsync')
-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>