1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/net/zsync/Makefile
Baptiste Daroussin 372bffc267 Fix AC_TRY_COMPILE usage to avoid nested function
Obtained from:	OpenBSD
2017-10-04 08:11:14 +00:00

38 lines
842 B
Makefile

# Created by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
# $FreeBSD$
PORTNAME= zsync
PORTVERSION= 0.6.2
PORTREVISION= 1
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= autoreconf 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>