diff options
author | marcus <marcus@FreeBSD.org> | 2002-04-08 00:32:36 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-04-08 00:32:36 +0800 |
commit | 696618bb7a119a7cf6f65ecbc3bb5f7735291277 (patch) | |
tree | f8dda5e9cb9d6ed45317dc0a7068209f2efeaec7 /net | |
parent | 955e953a939bc7a3dbbb84e4aa74fe865da33596 (diff) | |
download | freebsd-ports-gnome-696618bb7a119a7cf6f65ecbc3bb5f7735291277.tar.gz freebsd-ports-gnome-696618bb7a119a7cf6f65ecbc3bb5f7735291277.tar.zst freebsd-ports-gnome-696618bb7a119a7cf6f65ecbc3bb5f7735291277.zip |
Take advantage of USE_JAVA from bsd.java.mk.
Reviewed by: sobomax
Approved by: sobomax
Diffstat (limited to 'net')
-rw-r--r-- | net/confregdecode/Makefile | 6 | ||||
-rw-r--r-- | net/confregdecode/files/patch-ab | 21 |
2 files changed, 20 insertions, 7 deletions
diff --git a/net/confregdecode/Makefile b/net/confregdecode/Makefile index d799ca935fb0..ab4f29ed3892 100644 --- a/net/confregdecode/Makefile +++ b/net/confregdecode/Makefile @@ -14,11 +14,9 @@ DISTNAME= confregdecode-src-${PORTVERSION} MAINTAINER= marcus@FreeBSD.org -BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk -RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk \ - ${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper - +USE_JAVA= 1.1+ ALL_TARGET= jar +MAKE_ENV= JAVAC="${JAVAC}" JAR="${JAR}" do-install: @${MKDIR} ${PREFIX}/share/java diff --git a/net/confregdecode/files/patch-ab b/net/confregdecode/files/patch-ab index 9cf991e812af..f0cf9affc5f0 100644 --- a/net/confregdecode/files/patch-ab +++ b/net/confregdecode/files/patch-ab @@ -1,6 +1,21 @@ ---- Makefile.orig Thu May 31 16:08:05 2001 -+++ Makefile Sat Jun 2 23:35:58 2001 -@@ -12,8 +12,8 @@ + +$FreeBSD$ + +--- Makefile.orig Thu May 31 09:08:05 2001 ++++ Makefile Sat Apr 6 18:50:09 2002 +@@ -3,17 +3,17 @@ + # $Id: Makefile,v 1.1 2001/05/25 04:33:46 jmarcus Exp $ + # + +-JAVAC= /usr/local/jdk1.1.8/bin/javac +-JAVAC_FLAGS= -O -g +-JAR= /usr/local/jdk1.1.8/bin/jar ++JAVAC?= /usr/local/jdk1.1.8/bin/javac ++JAVAC_FLAGS?= -O -g ++JAR?= /usr/local/jdk1.1.8/bin/jar + RM= /bin/rm + + all: $(JAVAC) $(JAVAC_FLAGS) com/marcuscom/confregdecode/ConfregDecode.java jar: all |