aboutsummaryrefslogtreecommitdiffstats
path: root/java/netrexx/Makefile
blob: 37ff1b9e9d9e5e15d859d14f3ac3c605d33325c5 (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:    NetRexx
# Version required:     1.160
# Date created:     Feb 8, 1999
# Whom:         Pedro Giffuni
#
# $FreeBSD$
#

DISTNAME=   NetRexx
PKGNAME=    netrexx-1.160
CATEGORIES= java lang
MASTER_SITES=   http://www.ibm.com/technology/NetRexx/
EXTRACT_SUFX=   .tar.Z

MAINTAINER= ports@FreeBSD.org

RUN_DEPENDS=    ${PREFIX}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk

NO_BUILD=   yes
# pkg/PLIST depends on the JDK_VERSION
JDK_VERSION?=   1.1.8
PLIST_SUB+= JDK_VERSION=${JDK_VERSION}

do-install:
    -${MV} ${WRKSRC}/nrtools.tar.Z ${WRKSRC}/.foo.Z
    uncompress -c ${WRKSRC}/.foo.Z | \
        tar -xvf - -C ${PREFIX}/jdk${JDK_VERSION}
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/NetRexx
    ${CP} -R ${WRKSRC}/* ${PREFIX}/share/doc/NetRexx/
.endif

.include <bsd.port.mk>