From 78b46853df3e7623ee125580eab4335bb157a906 Mon Sep 17 00:00:00 2001 From: bapt Date: Tue, 28 Jan 2014 00:17:56 +0000 Subject: Support stage by injecting the ${DESTDIR} support in Makefiles thought configure script Add DOCS options USE_GMAKE -> USES=gmake --- devel/datadraw/Makefile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'devel/datadraw') 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 .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 -- cgit