aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xml4j/Makefile
blob: 5743d23bc08dd2a79e2da48cd39747535e2fa7f9 (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
# New ports collection makefile for:    XML for Java
# Version required: 2.0.15
# Date created:     16 May 1999
# Whom:         Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

DISTNAME=   xml4j_2_0_15
PKGNAME=    xml4j-2.0.15
CATEGORIES= textproc
MASTER_SITES=   http://www.alphaworks.ibm.com/tech/xml4j/

MAINTAINER= kuriyama@FreeBSD.org

RUN_DEPENDS=    ${PREFIX}/${JFCSUBDIR}/swing.jar:${PORTSDIR}/java/jfc

RESTRICTED= "License prohibites distribute."
NO_BUILD=   YES
PLIST_SUB=  JAVASUBDIR=${JAVASUBDIR}

JAVASUBDIR= jdk1.1.8
JFCSUBDIR=  swing-1.1
DIR=        ${PREFIX}/share/java

do-install:
    @${MKDIR} ${DIR}/classes
    @(cd ${WRKSRC} && ${INSTALL_DATA} xml4j.jar xml4jSamples.jar ${DIR}/classes)
    @${MKDIR} ${DIR}/xml4j
    @(cd ${WRKSRC} && ${INSTALL_DATA} Readme.html license.html w3c_copyright_software.html ${DIR}/xml4j)
    @(cd ${WRKSRC} && ${CP} -R TXapiDocs apiDocs build data docs samples ${DIR}/xml4j)

.include <bsd.port.mk>