
$FreeBSD: ports/net/confregdecode/files/patch-ab,v 1.3 2002/04/07 16:32:36 marcus Exp $

--- 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
-	jar -cvf cd.jar com/marcuscom/confregdecode/*.class
+	$(JAR) -cvf confregdecode.jar com/marcuscom/confregdecode/*.class
 
 clean:
 	$(RM) -f com/marcuscom/confregdecode/*.class
-	$(RM) -f cd.jar
+	$(RM) -f cconfregdecode.jar
