Date: Tue, 28 Jan 2014 00:17:56 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341493 - head/devel/datadraw Message-ID: <201401280017.s0S0Huws082557@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Tue Jan 28 00:17:56 2014 New Revision: 341493 URL: http://svnweb.freebsd.org/changeset/ports/341493 QAT: https://qat.redports.org/buildarchive/r341493/ Log: Support stage by injecting the ${DESTDIR} support in Makefiles thought configure script Add DOCS options USE_GMAKE -> USES=gmake Modified: head/devel/datadraw/Makefile Modified: head/devel/datadraw/Makefile ============================================================================== --- head/devel/datadraw/Makefile Tue Jan 28 00:16:57 2014 (r341492) +++ head/devel/datadraw/Makefile Tue Jan 28 00:17:56 2014 (r341493) @@ -12,11 +12,14 @@ COMMENT= Feature rich persistent databas LICENSE= GPLv2 +OPTIONS_DEFINE= DOCS + HAS_CONFIGURE= yes -USE_GMAKE= yes +USES= gmake ALL_TARGET= # empty +PORTDOCS= * +CONFIGURE_ARGS= --prefix=\$${DESTDIR}${PREFIX} -NO_STAGE= yes .include <bsd.port.options.mk> .if ${OSVERSION} < 1000013 @@ -26,13 +29,9 @@ post-patch: ${REINPLACE_CMD} -e "s/bison/byacc/g" ${WRKSRC}/configure .endif -.if ${PORT_OPTIONS:MDOCS} -PORTDOCS= * - post-install: - @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/www/* ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/manual.pdf ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${CP} -R ${WRKSRC}/www/* ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/manual.pdf ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401280017.s0S0Huws082557>