summaryrefslogtreecommitdiff
path: root/lang/jasmin/Makefile
diff options
context:
space:
mode:
authoragc <agc>2002-04-22 13:51:26 +0000
committeragc <agc>2002-04-22 13:51:26 +0000
commit6cb04d9fb914db59fe07fdd5d9ccfe333cdb5e4e (patch)
tree92dff19c043dd29f4ab6517029f231bbee4369ee /lang/jasmin/Makefile
parente2c7c39b4f63e1749385ffcc4725810647301671 (diff)
downloadpkgsrc-6cb04d9fb914db59fe07fdd5d9ccfe333cdb5e4e.tar.gz
Initial import of jasmin-1.06 into the NetBSD Packages Collection.
Provided in PR 16057 by Jan Schaumann <jschauma@cs.stevens-tech.edu> Jasmin is a Java Assembler Interface. It takes ASCII descriptions for Java classes, written in a simple assembler-like syntax and using the Java Virtual Machine instruction set. It converts them into binary Java class files suitable for loading into a JVM implementation. Modified slightly by myself.
Diffstat (limited to 'lang/jasmin/Makefile')
-rw-r--r--lang/jasmin/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/lang/jasmin/Makefile b/lang/jasmin/Makefile
new file mode 100644
index 00000000000..db4191bac68
--- /dev/null
+++ b/lang/jasmin/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/22 13:51:26 agc Exp $
+#
+
+DISTNAME= jasmin-1.06
+CATEGORIES= lang
+MASTER_SITES= http://www.cat.nyu.edu/meyer/jasmin/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.cat.nyu.edu/meyer/jasmin/
+COMMENT= Java "assembler" interface
+
+DEPENDS= sun-jre>=1.3.1.0.1:../../lang/sun-jre13
+
+WRKSRC= ${WRKDIR}/jasmin
+
+NO_BUILD= yes
+
+post-patch:
+ ${MV} ${WRKSRC}/bin/jasmin ${WRKSRC}/bin/jasmin.patch && \
+ ${SED} -e 's|@PREFIX@|${PREFIX}|g' ${WRKSRC}/bin/jasmin.patch > ${WRKSRC}/bin/jasmin && \
+ ${CHMOD} 755 ${WRKSRC}/bin/jasmin
+ ${RM} ${WRKSRC}/bin/jasmin.patch
+
+# This is ugly. The chown should happen after copying, or tar should have
+# a way to override permissions.
+do-install:
+ ${INSTALL_PROGRAM_DIR} ${PREFIX}/jasmin
+ cd ${WRKSRC} && ${PAX} -rw . ${PREFIX}/jasmin
+ ${LN} -s ${PREFIX}/jasmin/bin/jasmin ${PREFIX}/bin/jasmin
+
+.include "../../mk/bsd.pkg.mk"