summaryrefslogtreecommitdiffstats
path: root/java/infobus/Makefile
blob: dd27b44f5c9b7e7ba2d644940c2f5a4ed775a0dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 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>
OpenPOWER on IntegriCloud