Lines 5-13
Link Here
|
5 |
# $FreeBSD: ports/java/jode/Makefile,v 1.4 2006/05/09 00:18:06 edwin Exp $ |
5 |
# $FreeBSD: ports/java/jode/Makefile,v 1.4 2006/05/09 00:18:06 edwin Exp $ |
6 |
|
6 |
|
7 |
PORTNAME= jode |
7 |
PORTNAME= jode |
8 |
PORTVERSION= 1.1.1.1 |
8 |
DISTVERSION= 1.1.2-pre1 |
9 |
CATEGORIES= java devel |
9 |
CATEGORIES= java devel |
10 |
DISTNAME= ${PORTNAME}-${VENDOR_VERSION} |
|
|
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
10 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR=${PORTNAME} |
11 |
MASTER_SITE_SUBDIR=${PORTNAME} |
13 |
|
12 |
|
Lines 17-36
Link Here
|
17 |
BUILD_DEPENDS= ${GETOPT_JAR}:${PORTSDIR}/java/java-getopt |
16 |
BUILD_DEPENDS= ${GETOPT_JAR}:${PORTSDIR}/java/java-getopt |
18 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
17 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
19 |
|
18 |
|
20 |
VENDOR_VERSION= 1.1.2-pre1 |
|
|
21 |
USE_JAVA= 1.2+ |
19 |
USE_JAVA= 1.2+ |
22 |
NEED_JAVAC= yes |
20 |
NEED_JAVAC= yes |
23 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
24 |
USE_GMAKE= yes |
22 |
USE_GMAKE= yes |
25 |
|
23 |
|
26 |
GETOPT_JAR= ${JAVAJARDIR}/getopt.jar |
24 |
GETOPT_JAR= ${JAVALIBDIR}/getopt.jar |
27 |
CLASSLIB= ${JAVA_CLASSES}:${GETOPT_JAR} |
25 |
CLASSLIB= ${JAVA_CLASSES}:${GETOPT_JAR} |
28 |
CONFIGURE_ENV+= CLASSLIB=${CLASSLIB} JAR="${JAR}" \ |
26 |
CONFIGURE_ENV+= CLASSLIB=${CLASSLIB} JAR="${JAR}" \ |
29 |
JAVA="${JAVA}" JAVAC="${JAVAC}" |
27 |
JAVA="${JAVA}" JAVAC="${JAVAC}" |
30 |
CONFIGURE_ARGS+=--datadir="${JAVAJARDIR}" |
28 |
CONFIGURE_ARGS+=--datadir="${JAVALIBDIR}" |
31 |
# Don't create the dependencies: |
29 |
# Don't create the dependencies: |
32 |
MAKE_ARGS+= JAVADEP=: |
30 |
MAKE_ARGS+= JAVADEP=: |
33 |
PLIST_SUB+= VERSION=${VENDOR_VERSION} |
31 |
PLIST_SUB+= VERSION=${DISTVERSION} |
34 |
|
32 |
|
35 |
post-patch: |
33 |
post-patch: |
36 |
${FIND} ${WRKSRC} -name '*.java*' | \ |
34 |
${FIND} ${WRKSRC} -name '*.java*' | \ |
Lines 39-49
Link Here
|
39 |
-e 's,enum([ \.]),enumeration\1,g' |
37 |
-e 's,enum([ \.]),enumeration\1,g' |
40 |
|
38 |
|
41 |
post-build: |
39 |
post-build: |
42 |
cd ${WRKSRC} && ${JAR} cvf ${PORTNAME}-${VENDOR_VERSION}.jar \ |
40 |
cd ${WRKSRC} && ${JAR} cvf ${PORTNAME}-${DISTVERSION}.jar \ |
43 |
`${FIND} jode -name \*.class` |
41 |
`${FIND} jode -name \*.class` |
44 |
|
42 |
|
45 |
post-install: |
43 |
post-install: |
46 |
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${VENDOR_VERSION}.jar \ |
44 |
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${DISTVERSION}.jar \ |
47 |
${JAVAJARDIR}/ |
45 |
${JAVAJARDIR}/ |
48 |
# Documentation HTML seems broken and out of date. Don't bother |
46 |
# Documentation HTML seems broken and out of date. Don't bother |
49 |
#.ifndef (NOPORTDOCS) |
47 |
#.ifndef (NOPORTDOCS) |