aboutsummaryrefslogtreecommitdiffstats
path: root/java/infobus/Makefile
blob: 36f27fa7958bbff3d9a93de2f98e04fa2c1e14cf (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
51
52
# New ports collection makefile for:    Infobus 1.2
# Date created:     1999/08/08
# Whom:         Jose Marques
#
# $FreeBSD$
#

PORTNAME=   infobus
PORTVERSION=    1.2
PORTREVISION=   1
CATEGORIES= java devel
DISTNAME=   ib12

MAINTAINER= java@freebsd.org
COMMENT=    Enables dynamic exchange of data between JavaBeans(TM)

RUN_DEPENDS=    ${JAVALIBDIR}/collections.jar:${PORTSDIR}/java/collections

USE_ZIP=    YES
USE_JAVA=   YES
JAVA_VERSION=   1.1

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>