summaryrefslogtreecommitdiff
path: root/java/sablepath/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/sablepath/Makefile')
-rw-r--r--java/sablepath/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/java/sablepath/Makefile b/java/sablepath/Makefile
new file mode 100644
index 000000000000..2871f56a3933
--- /dev/null
+++ b/java/sablepath/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: sablepath
+# Date created: 9 July 2002
+# Whom: Archie Cobbs <archie@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sablepath
+PORTVERSION= 0.1.3
+CATEGORIES= java
+MASTER_SITES= http://unc.dl.sourceforge.net/sablevm/
+
+MAINTAINER= archie@freebsd.org
+
+LIB_DEPENDS= gmp.5:${PORTSDIR}/math/libgmp4
+BUILD_DEPENDS= jikes:${PORTSDIR}/java/jikes
+
+PATCH_STRIP= -p1
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+post-build:
+ jikes -classpath ${WRKSRC}:${WRKSRC}/vm/sablevm -nowarn +OLDCSO +P \
+ -d ${WRKSRC}/classes `find ${WRKSRC} -name '*.java'`
+
+post-install:
+ [ -d ${PREFIX}/share/sablepath ] || ${MKDIR} ${PREFIX}/share/sablepath
+ ${CP} -R ${WRKSRC}/classes/java ${WRKSRC}/classes/gnu \
+ ${WRKSRC}/classes/org ${PREFIX}/share/sablepath
+
+.include <bsd.port.mk>