diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-28 08:17:56 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-28 08:17:56 +0800 |
commit | 78b46853df3e7623ee125580eab4335bb157a906 (patch) | |
tree | 82ee3fd91f79a8e61bd1fca5d427aa57c3bc23d3 /devel | |
parent | e57a9ef33e2a88cd1854b4ff9d710daf1ce8a6c1 (diff) | |
download | freebsd-ports-gnome-78b46853df3e7623ee125580eab4335bb157a906.tar.gz freebsd-ports-gnome-78b46853df3e7623ee125580eab4335bb157a906.tar.zst freebsd-ports-gnome-78b46853df3e7623ee125580eab4335bb157a906.zip |
Support stage by injecting the ${DESTDIR} support in Makefiles thought configure script
Add DOCS options
USE_GMAKE -> USES=gmake
Diffstat (limited to 'devel')
-rw-r--r-- | devel/datadraw/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/devel/datadraw/Makefile b/devel/datadraw/Makefile index fefde522aa1a..ce4d0d57e64f 100644 --- a/devel/datadraw/Makefile +++ b/devel/datadraw/Makefile @@ -12,11 +12,14 @@ COMMENT= Feature rich persistent database generator 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> |