diff options
| author | Mikhail Teterin <mi@FreeBSD.org> | 2003-06-24 20:34:03 +0000 |
|---|---|---|
| committer | Mikhail Teterin <mi@FreeBSD.org> | 2003-06-24 20:34:03 +0000 |
| commit | 61c93d2ba20ece493bc383df526c212ed4b622d7 (patch) | |
| tree | 190f3e82f5e710d7c9cb84f205d9ae0e3c5e082f /java/jode/Makefile | |
| parent | 501d024ca1aa163a89a0c2c4d66bb8c5b3800921 (diff) | |
Notes
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 000000000000..b148d101d9c6 --- /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> |
