svn commit: r348001 - head/devel/libvirt-java
Jung-uk Kim
jkim at FreeBSD.org
Wed Mar 12 20:11:01 UTC 2014
Author: jkim
Date: Wed Mar 12 20:11:00 2014
New Revision: 348001
URL: http://svnweb.freebsd.org/changeset/ports/348001
QAT: https://qat.redports.org/buildarchive/r348001/
Log:
Support staging.
Modified:
head/devel/libvirt-java/Makefile
Modified: head/devel/libvirt-java/Makefile
==============================================================================
--- head/devel/libvirt-java/Makefile Wed Mar 12 19:54:02 2014 (r348000)
+++ head/devel/libvirt-java/Makefile Wed Mar 12 20:11:00 2014 (r348001)
@@ -25,15 +25,14 @@ ALL_TARGET= jar
PLIST_FILES= %%JAVAJARDIR%%/libvirt-${PORTVERSION}.jar
PORTDOCS= *
-NO_STAGE= yes
-post-patch:
- @${REINPLACE_CMD} -e 's|/usr/share/java|${JAVAJARDIR}|' \
- ${WRKSRC}/build.properties
-
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/share/java|${JAVAJARDIR}|' \
+ ${WRKSRC}/build.properties
+
post-build-script:
.if ${PORT_OPTIONS:MDOCS}
cd ${WRKSRC} && \
@@ -41,10 +40,12 @@ post-build-script:
.endif
do-install:
- ${INSTALL_DATA} ${WRKSRC}/target/libvirt-${PORTVERSION}.jar ${JAVAJARDIR}
+ ${INSTALL_DATA} ${WRKSRC}/target/libvirt-${PORTVERSION}.jar \
+ ${STAGEDIR}${JAVAJARDIR}
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/target/javadoc && ${COPYTREE_SHARE} \* ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/target/javadoc && \
+ ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list