freebsd-ports/java/infobus/Makefile
2021-04-06 16:31:07 +02:00

43 lines
1.1 KiB
Makefile

# Created by: Jose Marques
PORTNAME= infobus
PORTVERSION= 1.2
PORTREVISION= 2
CATEGORIES= java devel
DISTNAME= ib12
MAINTAINER= java@FreeBSD.org
COMMENT= Enables dynamic exchange of data between JavaBeans(TM)
OPTIONS_DEFINE= DOCS EXAMPLES
USES= zip
USE_JAVA= YES
NO_WRKSUBDIR= yes
NO_BUILD= yes
NO_CDROM= See the license
PORTDOCS= *
PORTEXAMPLES= *
.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 ${STAGEDIR}${JAVAJARDIR}/
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/*.java ${STAGEDIR}${EXAMPLESDIR}
.for i in examples.mak makefile moneyman.mf ReadMe.html ReadRowset.html coffee6.gif
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${EXAMPLESDIR}
.endfor
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in LICENSE.HTML ReadMe.html coffee6.gif
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
cd ${WRKSRC}/doc && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>