diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-10 14:37:28 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-10 14:37:28 +0800 |
commit | 332df08371926e2e4c8ab6c4e677da671c4b95a3 (patch) | |
tree | 03c139cf1ee509ccb44a49bc5e98a87aeee42194 /java | |
parent | 4b2ae92e6ef6a366bad0c65bbb7605b1f2edebcf (diff) | |
download | freebsd-ports-gnome-332df08371926e2e4c8ab6c4e677da671c4b95a3.tar.gz freebsd-ports-gnome-332df08371926e2e4c8ab6c4e677da671c4b95a3.tar.zst freebsd-ports-gnome-332df08371926e2e4c8ab6c4e677da671c4b95a3.zip |
stage support
respect examples
Diffstat (limited to 'java')
-rw-r--r-- | java/infobus/Makefile | 22 | ||||
-rw-r--r-- | java/infobus/pkg-plist | 15 |
2 files changed, 10 insertions, 27 deletions
diff --git a/java/infobus/Makefile b/java/infobus/Makefile index 55b497c37b6b..362d6119dc4f 100644 --- a/java/infobus/Makefile +++ b/java/infobus/Makefile @@ -10,6 +10,8 @@ DISTNAME= ib12 MAINTAINER= java@FreeBSD.org COMMENT= Enables dynamic exchange of data between JavaBeans(TM) +OPTIONS_DEFINE= DOCS EXAMPLES + USES= zip USE_JAVA= YES JAVA_VERSION= 1.6+ @@ -18,30 +20,26 @@ NO_WRKSUBDIR= yes NO_BUILD= yes NO_CDROM= See the license -.if !defined(NOPORTDOCS) PORTDOCS= * -.endif +PORTEXAMPLES= * -NO_STAGE= yes .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) IGNORE= You must manually fetch the distribution from http://java.sun.com/products/archive/javabeans/infobus/downloads.html and place it in ${DISTDIR} then run make again .endif do-install: - ${INSTALL_DATA} ${WRKSRC}/infobus.jar ${JAVAJARDIR}/ - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/*.java ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/infobus.jar ${TAGEDIR}${JAVAJARDIR}/ + ${MKDIR} ${TAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/*.java ${TAGEDIR}${EXAMPLESDIR} .for i in examples.mak makefile moneyman.mf ReadMe.html ReadRowset.html coffee6.gif - ${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${TAGEDIR}${EXAMPLESDIR} .endfor -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${MKDIR} ${TAGEDIR}${DOCSDIR} .for i in LICENSE.HTML ReadMe.html coffee6.gif - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${TAGEDIR}${DOCSDIR} .endfor cd ${WRKSRC}/doc && \ - ${FIND} . | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} -.endif + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include <bsd.port.post.mk> diff --git a/java/infobus/pkg-plist b/java/infobus/pkg-plist index 8e5aa8aad7ea..2c37dae06f9e 100644 --- a/java/infobus/pkg-plist +++ b/java/infobus/pkg-plist @@ -1,16 +1 @@ -%%EXAMPLESDIR%%/MonetaryDataItem.java -%%EXAMPLESDIR%%/ReadMe.html -%%EXAMPLESDIR%%/ReadRowset.html -%%EXAMPLESDIR%%/RowsetAccessHelper.java -%%EXAMPLESDIR%%/RowsetSource.java -%%EXAMPLESDIR%%/SampleConsumer.java -%%EXAMPLESDIR%%/SimpleConsumerBean.java -%%EXAMPLESDIR%%/SimpleDataItem.java -%%EXAMPLESDIR%%/SimpleProducerBean.java -%%EXAMPLESDIR%%/SimpleTable.java -%%EXAMPLESDIR%%/coffee6.gif -%%EXAMPLESDIR%%/examples.mak -%%EXAMPLESDIR%%/makefile -%%EXAMPLESDIR%%/moneyman.mf %%JAVAJARDIR%%/infobus.jar -@dirrm %%EXAMPLESDIR%% |