aboutsummaryrefslogtreecommitdiff
path: root/java/netrexx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/netrexx/Makefile')
-rw-r--r--java/netrexx/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/java/netrexx/Makefile b/java/netrexx/Makefile
new file mode 100644
index 000000000000..b7d8fb2c3055
--- /dev/null
+++ b/java/netrexx/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: NetRexx
+# Version required: 1.151
+# Date created: Feb 8, 1999
+# Whom: Pedro Giffuni
+#
+# $FreeBSD$
+#
+
+DISTNAME= NetRexx
+PKGNAME= netrexx-1.151
+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>