summaryrefslogtreecommitdiff
path: root/java/collections/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/collections/Makefile')
-rw-r--r--java/collections/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/java/collections/Makefile b/java/collections/Makefile
new file mode 100644
index 000000000000..76c03a305380
--- /dev/null
+++ b/java/collections/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: JDK1.1 Collections package
+# Version required: 1.1
+# Date created: 1999/08/08
+# Whom: Jose Marques
+#
+# $FreeBSD$
+#
+
+DISTNAME= collections1_1
+PKGNAME= collections-1.1
+CATEGORIES= java
+EXTRACT_SUFX= .zip
+
+MAINTAINER= noway@nohow.demon.co.uk
+
+RUN_DEPENDS= ${PREFIX}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk
+
+USE_ZIP= YES
+
+WRKSRC= ${WRKDIR}/1.1collections
+JDK_VERSION= 1.1.8
+NO_BUILD= yes
+NO_CDROM= "See the license"
+
+.include <bsd.port.pre.mk>
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+IGNORE= "You must manually fetch the distribution from http://java.sun.com/beans/infobus/index.html and place it in ${DISTDIR} then run make again"
+.endif
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/java/classes/
+ @${CP} ${WRKSRC}/lib/*.jar ${PREFIX}/share/java/classes/
+ @${MKDIR} ${PREFIX}/share/java/${PKGNAME}/
+ @${CP} -R ${WRKSRC}/doc/* ${PREFIX}/share/java/${PKGNAME}/
+
+.include <bsd.port.post.mk>