1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Sort variables, lint, and install manuals at share/man

This commit is contained in:
Mateusz Piotrowski 2020-10-27 11:20:48 +00:00
parent daa65d59a4
commit 1d99e186c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553434

View File

@ -3,7 +3,7 @@
PORTNAME= zsync
PORTVERSION= 0.6.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://zsync.moria.org.uk/download/
@ -16,19 +16,21 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf tar:bzip2
GNU_CONFIGURE= yes
PLIST_FILES= bin/zsync \
bin/zsyncmake \
share/man/man1/zsync.1.gz \
share/man/man1/zsyncmake.1.gz
PORTDOCS= INSTALL NEWS README
PLIST_FILES= bin/zsync bin/zsyncmake \
man/man1/zsync.1.gz man/man1/zsyncmake.1.gz
MANPAGE= zsync.1 zsyncmake.1
BINS= zsync zsyncmake
_MANPAGE= zsync.1 zsyncmake.1
_BINS= zsync zsyncmake
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${MANPAGE:S,^,${WRKSRC}/doc/,} \
${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_PROGRAM} ${_BINS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${_MANPAGE:S,^,${WRKSRC}/doc/,} \
${STAGEDIR}${MANPREFIX}/share/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}