Date: Fri, 28 Feb 2014 08:32:07 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346459 - head/net/beanstalkd Message-ID: <201402280832.s1S8W788077878@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Fri Feb 28 08:32:07 2014 New Revision: 346459 URL: http://svnweb.freebsd.org/changeset/ports/346459 QAT: https://qat.redports.org/buildarchive/r346459/ Log: - Support staging - Define DOCS option Modified: head/net/beanstalkd/Makefile Modified: head/net/beanstalkd/Makefile ============================================================================== --- head/net/beanstalkd/Makefile Fri Feb 28 08:30:58 2014 (r346458) +++ head/net/beanstalkd/Makefile Fri Feb 28 08:32:07 2014 (r346459) @@ -10,28 +10,26 @@ COMMENT= Fast, distributed, in-memory wo LICENSE= MIT +USES= gmake USE_RC_SUBR= beanstalkd -USE_GMAKE= yes MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}" -PLIST_FILES= bin/beanstalkd +PLIST_FILES= bin/beanstalkd man/man1/beanstalkd.1.gz SUB_LIST+= RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX} PORTDOCS= protocol.txt -MAN1= beanstalkd.1 -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/beanstalkd ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1 -.if !defined(NOPORTDOCS) - @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" - @${MKDIR} ${DOCSDIR} + ${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} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR} .endfor -.endif test: configure @cd ${WRKSRC} && ${GMAKE} ${MAKE_ARGS} check
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402280832.s1S8W788077878>