aboutsummaryrefslogtreecommitdiff
path: root/java/infobus/Makefile
blob: 0295eff44ebad61c210811608891041c65db6e28 (plain) (blame)
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
46
47
48
49
50
# New ports collection makefile for:    Infobus 1.2
# Date created:		1999/08/08
# Whom:			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)

USE_ZIP=	YES
USE_JAVA=	YES
JAVA_VERSION=	1.3+

NO_WRKSUBDIR=	yes
NO_BUILD=	yes
NO_CDROM=	"See the license"

.if !defined(NOPORTDOCS)
PORTDOCS=	*
.endif

.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
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}
.for i in examples.mak makefile moneyman.mf ReadMe.html ReadRowset.html coffee6.gif
	${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}
.endfor
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in LICENSE.HTML ReadMe.html coffee6.gif
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
	cd ${WRKSRC}/doc && \
		${FIND} . | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif

.include <bsd.port.post.mk>