diff options
author | mi <mi@FreeBSD.org> | 2003-06-24 20:34:03 +0000 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2003-06-24 20:34:03 +0000 |
commit | 32f9be6ddaa7444548d74b5485806c6b070b7570 (patch) | |
tree | c8365628033c869b236e296ea868280b0ccf6bb1 /java/jode/Makefile | |
parent | fb058169d566177147b130ec46b3570f2d416686 (diff) | |
download | FreeBSD-ports-32f9be6ddaa7444548d74b5485806c6b070b7570.zip FreeBSD-ports-32f9be6ddaa7444548d74b5485806c6b070b7570.tar.gz |
DE is a java package containing a decompiler and an optimizer for
java. Can be used from command line or through the Swing-based GUI.
Diffstat (limited to 'java/jode/Makefile')
-rw-r--r-- | java/jode/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/java/jode/Makefile b/java/jode/Makefile new file mode 100644 index 0000000..b148d10 --- /dev/null +++ b/java/jode/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: jode-regexp +# Date created: June 24th 2003 +# Whom: mi +# +# $FreeBSD$ + +PORTNAME= jode +PORTVERSION= 1.1.1 +CATEGORIES= java devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=${PORTNAME} + +MAINTAINER= mi@aldan.algebra.com +COMMENT= A java package containing a decompiler and an optimizer for java + +BUILD_DEPENDS= ${GETOPT_JAR}:${PORTSDIR}/java/java-getopt +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_JAVA= 1.2+ +NEED_JAVAC= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes + +GETOPT_JAR= ${JAVAJARDIR}/getopt.jar +CLASSLIB= ${JAVA_CLASSES}:${GETOPT_JAR} +CONFIGURE_ENV+= CLASSLIB=${CLASSLIB} JAR="${JAR}" \ + JAVA="${JAVA}" JAVAC="${JAVAC}" +CONFIGURE_ARGS+=--datadir="${JAVAJARDIR}" +# Don't create the dependencies: +MAKE_ARGS+= JAVADEP=: +# Run two compilers in parallel -- faster even on a single CPU machine: +MAKE_ARGS+= -j2 +PLIST_SUB+= VERSION=${PORTVERSION} + +post-build: + cd ${WRKSRC} && ${JAR} cvf ${PORTNAME}-${PORTVERSION}.jar \ + `${FIND} jode -name \*.class` + +post-install: + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar \ + ${JAVAJARDIR}/ +# Documentation HTML seems broken and out of date. Don't bother +#.ifndef (NOPORTDOCS) +# ${MKDIR} ${DOCSDIR} +# ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.gif ${DOCSDIR}/ +#.endif + +.include <bsd.port.mk> |