- Add LICENSE_FILE

- Switch to new test framework
- Switch to options helpers

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2018-05-12 08:34:04 +00:00
parent db5c105e9f
commit 83c51e1890
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469717

View File

@ -9,10 +9,12 @@ MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Fast, distributed, in-memory workqueue service
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake
USE_GITHUB= yes
USE_RC_SUBR= beanstalkd
TEST_TARGET= check
GH_ACCOUNT= kr
@ -29,14 +31,11 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/beanstalkd ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
.endfor
test: configure
@cd ${WRKSRC} && ${MAKE_CMD} ${MAKE_ARGS} check
regression-test: test
.include <bsd.port.mk>