- Add LICENSE

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2017-07-05 10:24:13 +00:00
parent 3534261def
commit 1d2a24c2a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445064

View File

@ -9,18 +9,23 @@ MASTER_SITES= SUNSITE/apps/www/servers
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple forking web benchmark
MAKE_ARGS+= CFLAGS="${CPPFLAGS} ${CFLAGS}"
LICENSE= GPLv2
PORTDOCS= copyright changelog
MAKE_ARGS= CFLAGS="${CPPFLAGS} ${CFLAGS}"
PORTDOCS= ChangeLog
PLIST_FILES= bin/webbench \
man/man1/webbench.1.gz
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/webbench ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/webbench.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/debian/copyright ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/debian/changelog ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>