aboutsummaryrefslogtreecommitdiff
path: root/java/infobus/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-10 06:37:28 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-10 06:37:28 +0000
commitfa29a2f8f76d8008812d910edb8386e8504a1cce (patch)
tree03c139cf1ee509ccb44a49bc5e98a87aeee42194 /java/infobus/Makefile
parente8ec298067ca8a0f5770512c18528311ca8d2139 (diff)
downloadports-fa29a2f8f76d8008812d910edb8386e8504a1cce.tar.gz
ports-fa29a2f8f76d8008812d910edb8386e8504a1cce.zip
Notes
Diffstat (limited to 'java/infobus/Makefile')
-rw-r--r--java/infobus/Makefile22
1 files changed, 10 insertions, 12 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>