Date: Tue, 25 Feb 2014 13:31:50 +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: r345994 - head/sysutils/flog Message-ID: <201402251331.s1PDVo8X024966@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Tue Feb 25 13:31:49 2014 New Revision: 345994 URL: http://svnweb.freebsd.org/changeset/ports/345994 QAT: https://qat.redports.org/buildarchive/r345994/ Log: Support staging Modified: head/sysutils/flog/Makefile Modified: head/sysutils/flog/Makefile ============================================================================== --- head/sysutils/flog/Makefile Tue Feb 25 13:30:49 2014 (r345993) +++ head/sysutils/flog/Makefile Tue Feb 25 13:31:49 2014 (r345994) @@ -12,7 +12,8 @@ COMMENT= A small STDIN-to-file logger wi PORTDOCS= README -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e "s@|O_LARGEFILE@@" ${WRKSRC}/flog.c @@ -20,10 +21,8 @@ do-build: ${CC} ${CFLAGS} -o ${WRKSRC}/flog ${WRKSRC}/flog.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/flog ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${INSTALL} -d -m 0755 ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/flog ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402251331.s1PDVo8X024966>