aboutsummaryrefslogtreecommitdiffstats
path: root/net/frost
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-02-28 13:41:35 +0800
committerlioux <lioux@FreeBSD.org>2004-02-28 13:41:35 +0800
commit23f02b0cbb5379656ee2b6bdc7f4de8564d33313 (patch)
tree65197fcf12c98b295a00868579dadb34a447e1b4 /net/frost
parent9bdbe1113c094ecda17806ba8d342bc1aa2fcd98 (diff)
downloadfreebsd-ports-gnome-23f02b0cbb5379656ee2b6bdc7f4de8564d33313.tar.gz
freebsd-ports-gnome-23f02b0cbb5379656ee2b6bdc7f4de8564d33313.tar.zst
freebsd-ports-gnome-23f02b0cbb5379656ee2b6bdc7f4de8564d33313.zip
Update to 20040225 snapshot
Diffstat (limited to 'net/frost')
-rw-r--r--net/frost/Makefile19
-rw-r--r--net/frost/distinfo4
-rw-r--r--net/frost/files/wrapper.sh12
-rw-r--r--net/frost/pkg-plist25
4 files changed, 43 insertions, 17 deletions
diff --git a/net/frost/Makefile b/net/frost/Makefile
index 2b2e577fb509..a3257a331eb5 100644
--- a/net/frost/Makefile
+++ b/net/frost/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= frost
-PORTVERSION= 1.2.0
+PORTVERSION= 1.2.0.20040225
PORTEPOCH= 1
CATEGORIES= net java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= jtcfrost
-DISTNAME= ${PORTNAME}-wot-${VERSION_DATE}
+DISTNAME= ${PORTNAME}-25-Feb-2004
MAINTAINER= lioux@FreeBSD.org
COMMENT= File-sharing tool for FreeNet with Usenet like forum support
@@ -32,12 +32,20 @@ SHARE_DIR= share/${PORTNAME}
JAR_DIR= share/java/jar/${PORTNAME}
JAR_FILE= frost.jar
JAR_FILES= frost.jar lib/fecImpl.jar \
+ lib/BCastle.jar \
lib/genChkImpl.jar lib/xercesImpl.jar \
- lib/xml-apis.jar lib/xmlParserAPIs.jar
+ lib/jocache.jar \
+ lib/mailapi.jar lib/smtp.jar \
+ lib/skinlf.jar lib/skinlfFix.jar \
+ lib/xml-apis.jar
DOC_FILES= doc/Frost.tex doc/authors.txt doc/gpl.txt \
+ doc/SkinLFLicense.txt \
help/faq.txt help/history.txt
+SHARE_FILES= config/boards.xml.default \
+ themes/themepack.zip
+
post-patch:
@${SED} -e "s|%%PREFIX%%|${PREFIX}|; \
s|%%JAVAVM%%|${JAVAVM}|; \
@@ -61,8 +69,9 @@ do-install:
.endfor
# default boards
@${MKDIR} ${PREFIX}/${SHARE_DIR}
- @${INSTALL_DATA} ${WRKSRC}/config/boards.xml.default \
- ${PREFIX}/${SHARE_DIR}
+.for file in ${SHARE_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/${SHARE_DIR}
+.endfor
# wrapper
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${PORTNAME:L}
diff --git a/net/frost/distinfo b/net/frost/distinfo
index c3ca5c6a23d6..30e78bc68639 100644
--- a/net/frost/distinfo
+++ b/net/frost/distinfo
@@ -1,2 +1,2 @@
-MD5 (frost-wot-090603.zip) = b7f6b8de26caff027d889dad69476d5e
-SIZE (frost-wot-090603.zip) = 1750130
+MD5 (frost-25-Feb-2004.zip) = 2882736dd7e071b6774dcc587cbbcc49
+SIZE (frost-25-Feb-2004.zip) = 2832311
diff --git a/net/frost/files/wrapper.sh b/net/frost/files/wrapper.sh
index c5c67e25f5ae..d64b12941f6a 100644
--- a/net/frost/files/wrapper.sh
+++ b/net/frost/files/wrapper.sh
@@ -6,7 +6,7 @@ JAR_DIR="%%JAR_DIR%%"
JAR_FILE="%%JAR_FILE%%"
SHARE_DIR="%%SHARE_DIR%%"
HOME_DIR=${HOME}/.frost
-CLASSPATH="${PREFIX}/${JAR_DIR}/${JAR_FILE}:${PREFIX}/${JAR_DIR}/fecImpl.jar:${PREFIX}/${JAR_DIR}/genChkImpl.jar:${PREFIX}/${JAR_DIR}/xercesImpl.jar:${PREFIX}/${JAR_DIR}/xml-apis.jar:${PREFIX}/${JAR_DIR}/xmlParserAPIs.jar:$CLASSPATH"
+CLASSPATH="${PREFIX}/${JAR_DIR}/BCastle.jar:${PREFIX}/${JAR_DIR}/fecImpl.jar:${PREFIX}/${JAR_DIR}/frost.jar:${PREFIX}/${JAR_DIR}/genChkImpl.jar:${PREFIX}/${JAR_DIR}/jocache.jar:${PREFIX}/${JAR_DIR}/mailapi.jar:${PREFIX}/${JAR_DIR}/skinlf.jar:${PREFIX}/${JAR_DIR}/skinlfFix.jar:${PREFIX}/${JAR_DIR}/smtp.jar:${PREFIX}/${JAR_DIR}/xercesImpl.jar:${PREFIX}/${JAR_DIR}/xml-apis.jar:$CLASSPATH"
if [ ! -d ${HOME_DIR}/config ]
then
@@ -18,5 +18,15 @@ then
cp ${PREFIX}/${SHARE_DIR}/boards.xml.default ${HOME_DIR}/config/
fi
+if [ ! -d ${HOME_DIR}/themes ]
+then
+ mkdir -p ${HOME_DIR}/themes
+fi
+
+if [ ! -e ${HOME_DIR}/themes/themepack.zip ]
+then
+ cp ${PREFIX}/${SHARE_DIR}/themepack.zip ${HOME_DIR}/themes/
+fi
+
cd ${HOME_DIR} &&
exec ${JAVAVM} -cp $CLASSPATH frost.frost "${@}"
diff --git a/net/frost/pkg-plist b/net/frost/pkg-plist
index 7a01a675b4fe..13eac6753203 100644
--- a/net/frost/pkg-plist
+++ b/net/frost/pkg-plist
@@ -1,17 +1,24 @@
bin/frost
-share/java/jar/frost/frost.jar
-share/java/jar/frost/fecImpl.jar
-share/java/jar/frost/genChkImpl.jar
-share/java/jar/frost/xercesImpl.jar
-share/java/jar/frost/xml-apis.jar
-share/java/jar/frost/xmlParserAPIs.jar
-share/frost/boards.xml.default
+%%JAR_DIR%%/BCastle.jar
+%%JAR_DIR%%/fecImpl.jar
+%%JAR_DIR%%/frost.jar
+%%JAR_DIR%%/genChkImpl.jar
+%%JAR_DIR%%/jocache.jar
+%%JAR_DIR%%/mailapi.jar
+%%JAR_DIR%%/skinlf.jar
+%%JAR_DIR%%/skinlfFix.jar
+%%JAR_DIR%%/smtp.jar
+%%JAR_DIR%%/xercesImpl.jar
+%%JAR_DIR%%/xml-apis.jar
+%%DATADIR%%/boards.xml.default
+%%DATADIR%%/themepack.zip
%%PORTDOCS%%%%DOCSDIR%%/Frost.tex
+%%PORTDOCS%%%%DOCSDIR%%/SkinLFLicense.txt
%%PORTDOCS%%%%DOCSDIR%%/authors.txt
%%PORTDOCS%%%%DOCSDIR%%/faq.txt
%%PORTDOCS%%%%DOCSDIR%%/gpl.txt
%%PORTDOCS%%%%DOCSDIR%%/history.txt
-@dirrm share/java/jar/frost
-@dirrm share/frost
+@dirrm %%JAR_DIR%%
+@dirrm %%DATADIR%%
@unexec rmdir %D/share/java/jar 2>/dev/null || true
%%PORTDOCS%%@dirrm %%DOCSDIR%%