svn commit: r341493 - head/devel/datadraw
Baptiste Daroussin
bapt at FreeBSD.org
Tue Jan 28 00:17:57 UTC 2014
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>
More information about the svn-ports-all
mailing list