aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-12-19 14:36:06 +0800
committermarcus <marcus@FreeBSD.org>2003-12-19 14:36:06 +0800
commite69ee3dc6772c8e5c5acb17a20e31118933b029f (patch)
tree9ae9f7e83d9ccf21fcb222f896465e78898ca90f /net-mgmt
parent6166f1a96c19abeaf6c094675edf2fbc336a581d (diff)
downloadfreebsd-ports-gnome-e69ee3dc6772c8e5c5acb17a20e31118933b029f.tar.gz
freebsd-ports-gnome-e69ee3dc6772c8e5c5acb17a20e31118933b029f.tar.zst
freebsd-ports-gnome-e69ee3dc6772c8e5c5acb17a20e31118933b029f.zip
Update to 1.2.1.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/confregdecode/Makefile21
-rw-r--r--net-mgmt/confregdecode/distinfo2
-rw-r--r--net-mgmt/confregdecode/files/patch-ab21
-rw-r--r--net-mgmt/confregdecode/pkg-plist6
4 files changed, 25 insertions, 25 deletions
diff --git a/net-mgmt/confregdecode/Makefile b/net-mgmt/confregdecode/Makefile
index a809a2960a54..35575560bcd0 100644
--- a/net-mgmt/confregdecode/Makefile
+++ b/net-mgmt/confregdecode/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= confregdecode
-PORTVERSION= 1.0.1
+PORTVERSION= 1.2.1
CATEGORIES= net java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cosi-nms
@@ -21,17 +21,20 @@ ALL_TARGET= jar
MAKE_ENV= JAVAC="${JAVAC}" JAR="${JAR}"
do-install:
- @${MKDIR} ${PREFIX}/share/java
- @${INSTALL_DATA} ${WRKSRC}/confregdecode.jar ${LOCALBASE}/share/java
- @${SED} \
+ ${MKDIR} ${PREFIX}/share/java
+ ${INSTALL_DATA} ${WRKSRC}/confregdecode.jar ${PREFIX}/share/java
+ ${SED} \
-e s,%%PREFIX%%,${PREFIX}, \
-e s,%%LOCALBASE%%,${LOCALBASE}, \
- < ${FILESDIR}/confregdecode > ${PREFIX}/bin/confregdecode; \
- ${CHMOD} a+x ${PREFIX}/bin/confregdecode
+ < ${FILESDIR}/confregdecode > ${WRKSRC}/confregdecode; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/confregdecode ${PREFIX}/bin
post-install:
- @${MKDIR} ${PREFIX}/share/doc/confregdecode
- @${INSTALL_DATA} ${WRKSRC}/README.txt ${LOCALBASE}/share/doc/confregdecode
- @${INSTALL_DATA} ${WRKSRC}/ConfregDecode.html ${LOCALBASE}/share/doc/confregdecode
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for file in README.txt ConfregDecode.html
+ ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
diff --git a/net-mgmt/confregdecode/distinfo b/net-mgmt/confregdecode/distinfo
index 56248aa22e1d..b26497ff30af 100644
--- a/net-mgmt/confregdecode/distinfo
+++ b/net-mgmt/confregdecode/distinfo
@@ -1 +1 @@
-MD5 (confregdecode-src-1.0.1.tar.gz) = e2b665ca1e8b69b16284034c01dabcac
+MD5 (confregdecode-src-1.2.1.tar.gz) = 42d8bf2ad132a26ed79e98cb8d39f89d
diff --git a/net-mgmt/confregdecode/files/patch-ab b/net-mgmt/confregdecode/files/patch-ab
index f0cf9affc5f0..892247713a88 100644
--- a/net-mgmt/confregdecode/files/patch-ab
+++ b/net-mgmt/confregdecode/files/patch-ab
@@ -1,28 +1,25 @@
-
-$FreeBSD$
-
---- Makefile.orig Thu May 31 09:08:05 2001
-+++ Makefile Sat Apr 6 18:50:09 2002
+--- Makefile.orig Fri Nov 28 21:00:51 2003
++++ Makefile Fri Dec 19 01:31:42 2003
@@ -3,17 +3,17 @@
- # $Id: Makefile,v 1.1 2001/05/25 04:33:46 jmarcus Exp $
+ # $Id: Makefile,v 1.3 2003/11/29 01:41:36 jmarcus Exp $
#
--JAVAC= /usr/local/jdk1.1.8/bin/javac
+-JAVAC= /usr/local/jdk1.4.2/bin/javac
-JAVAC_FLAGS= -O -g
--JAR= /usr/local/jdk1.1.8/bin/jar
-+JAVAC?= /usr/local/jdk1.1.8/bin/javac
+-JAR= /usr/local/jdk1.4.2/bin/jar
++JAVAC?= /usr/local/jdk1.4.2/bin/javac
+JAVAC_FLAGS?= -O -g
-+JAR?= /usr/local/jdk1.1.8/bin/jar
++JAR?= /usr/local/jdk1.4.2/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 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
++ $(RM) -f confregdecode.jar
diff --git a/net-mgmt/confregdecode/pkg-plist b/net-mgmt/confregdecode/pkg-plist
index c4257c3020bb..edd59f8ca670 100644
--- a/net-mgmt/confregdecode/pkg-plist
+++ b/net-mgmt/confregdecode/pkg-plist
@@ -1,5 +1,5 @@
bin/confregdecode
share/java/confregdecode.jar
-share/doc/confregdecode/README.txt
-share/doc/confregdecode/ConfregDecode.html
-@dirrm share/doc/confregdecode
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/ConfregDecode.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%