1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/java/infobus/Makefile
2014-04-13 13:04:31 +00:00

46 lines
1.2 KiB
Makefile

# Created by: Jose Marques
# $FreeBSD$
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
JAVA_VERSION= 1.6+
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>