aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-11-19 05:20:31 +0800
committerlioux <lioux@FreeBSD.org>2005-11-19 05:20:31 +0800
commit30a708f7f80ae5cc8033639946cce64f245bc264 (patch)
tree2191534ab4b7e44d21fd1a2452dfb3b08f10778f /net-p2p
parent7f69e9935d9e6ac40f7dfa938e673a73625f3528 (diff)
downloadfreebsd-ports-graphics-30a708f7f80ae5cc8033639946cce64f245bc264.tar.gz
freebsd-ports-graphics-30a708f7f80ae5cc8033639946cce64f245bc264.tar.zst
freebsd-ports-graphics-30a708f7f80ae5cc8033639946cce64f245bc264.zip
o Update to snapshot 20051020
o Use the jdk 1.5 version WITH_JDK15 or the jdk 1.4 one otherwise PR: 88899 Submitted by: Peter Thoenen <eol1@yahoo.com>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/frost/Makefile22
-rw-r--r--net-p2p/frost/distinfo9
2 files changed, 20 insertions, 11 deletions
diff --git a/net-p2p/frost/Makefile b/net-p2p/frost/Makefile
index 0e22f6744a5..f203cdde1d0 100644
--- a/net-p2p/frost/Makefile
+++ b/net-p2p/frost/Makefile
@@ -6,27 +6,30 @@
#
PORTNAME= frost
-PORTVERSION= 1.2.0.20050203
+PORTVERSION= 1.2.0.20051020
PORTEPOCH= 2
CATEGORIES= net java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= jtcfrost
-DISTNAME= ${PORTNAME}-03-Feb-2005-java14
+DISTNAME= ${PORTNAME}-20-Oct-2005-java${JAVA_VERSION:S/.//}
MAINTAINER= lioux@FreeBSD.org
COMMENT= File-sharing tool for FreeNet with Usenet like forum support
USE_JAVA= yes
-JAVA_VERSION= 1.4
+JAVA_RUN= yes
USE_ZIP= yes
NO_BUILD= yes
-#WRKSRC= ${WRKDIR}/${PORTNAME}
NO_WRKSUBDIR= yes
PLIST_SUB= JAR_DIR=${JAR_DIR}
-DATADIR= ${JAVASHAREDIR}/${PORTNAME}
+.ifdef(WITH_JDK15)
+JAVA_VERSION= 1.5
+.else
+JAVA_VERSION= 1.4
+.endif
-VERSION_DATE= 090603
+DATADIR= ${JAVASHAREDIR}/${PORTNAME}
JAVAVM= ${LOCALBASE}/bin/java
JAR_DIR= ${JAVAJARDIR:S,^${PREFIX}/,,}/${PORTNAME}
@@ -35,7 +38,6 @@ JAR_FILES= frost.jar lib/fecImpl.jar \
lib/BCastle.jar \
lib/fec-native.jar \
lib/genChkImpl.jar lib/xercesImpl.jar \
- lib/jocache.jar \
lib/mailapi.jar lib/smtp.jar \
lib/skinlf.jar lib/skinlfFix.jar \
lib/xml-apis.jar
@@ -47,7 +49,6 @@ DOC_FILES= doc/Frost.tex doc/authors.txt doc/gpl.txt \
PORTDOCS= ${DOC_FILES:C,^.*/,,}
DATA_FILES= config/boards.xml.default \
- themes/aquathemepack.zip \
themes/themepack.zip
PLIST_FILES= bin/${PORTNAME}
@@ -64,6 +65,11 @@ PLIST_DIRS+= \
%%JAR_DIR%% \
%%DATADIR%%
+pre-everything::
+.ifndef(WITH_JDK15)
+ @${ECHO_MSG} '===> Define WITH_JDK15 to use jdk 1.5 instead of jdk 1.4'
+.endif
+
post-patch:
@${SED} -e "s|%%PREFIX%%|${PREFIX}|; \
s|%%JAVA_VERSION%%|${JAVA_VERSION}|; \
diff --git a/net-p2p/frost/distinfo b/net-p2p/frost/distinfo
index 68c212d9a7f..6f7f8c20108 100644
--- a/net-p2p/frost/distinfo
+++ b/net-p2p/frost/distinfo
@@ -1,3 +1,6 @@
-MD5 (frost-03-Feb-2005-java14.zip) = 2d0eaf41dbb441b958b17f41f590bd0f
-SHA256 (frost-03-Feb-2005-java14.zip) = abf0cf255adb7a2b5909aaf3b11176576db1383be0a92eaf7db79732d8426178
-SIZE (frost-03-Feb-2005-java14.zip) = 2658338
+MD5 (frost-20-Oct-2005-java14.zip) = d1f81569f5489fd0a07bbf9d0db4b693
+SHA256 (frost-20-Oct-2005-java14.zip) = baffc8e07f7f3c4496dd9f5484004a35f38b5578f321291b026af0a40a2f4548
+SIZE (frost-20-Oct-2005-java14.zip) = 3897153
+MD5 (frost-20-Oct-2005-java15.zip) = 2686d4a3445b04692d62b24568d15fef
+SHA256 (frost-20-Oct-2005-java15.zip) = 5123adc21b65e082e3bc003bcb17a62b00867b852ee01da7d829b40963cdd406
+SIZE (frost-20-Oct-2005-java15.zip) = 3871113