freebsd-ports/net/beanstalkd/Makefile
Baptiste Daroussin a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00

44 lines
892 B
Makefile

# $FreeBSD$
PORTNAME= beanstalkd
PORTVERSION= 1.9
CATEGORIES= net
MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Fast, distributed, in-memory workqueue service
LICENSE= MIT
USES= gmake
USE_GITHUB= yes
USE_RC_SUBR= beanstalkd
GH_ACCOUNT= kr
GH_PROJECT= beanstalkd
GH_COMMIT= f40e005
GH_TAGNAME= v${PORTVERSION}
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}"
PLIST_FILES= bin/beanstalkd man/man1/beanstalkd.1.gz
SUB_LIST+= RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX}
PORTDOCS= protocol.txt
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/beanstalkd ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1
@${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>