52286d1e5f
- Switch to options helpers
37 lines
815 B
Makefile
37 lines
815 B
Makefile
# Created by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= zsync
|
|
PORTVERSION= 0.6.2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://zsync.moria.org.uk/download/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= File transfer program
|
|
|
|
LICENSE= ART20
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
|
|
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
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${MANPAGE:S,^,${WRKSRC}/doc/,} \
|
|
${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|