diff options
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/frost/Makefile | 19 | ||||
-rw-r--r-- | net-p2p/frost/distinfo | 4 | ||||
-rw-r--r-- | net-p2p/frost/files/wrapper.sh | 12 | ||||
-rw-r--r-- | net-p2p/frost/pkg-plist | 25 |
4 files changed, 43 insertions, 17 deletions
diff --git a/net-p2p/frost/Makefile b/net-p2p/frost/Makefile index 2b2e577fb509..a3257a331eb5 100644 --- a/net-p2p/frost/Makefile +++ b/net-p2p/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-p2p/frost/distinfo b/net-p2p/frost/distinfo index c3ca5c6a23d6..30e78bc68639 100644 --- a/net-p2p/frost/distinfo +++ b/net-p2p/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-p2p/frost/files/wrapper.sh b/net-p2p/frost/files/wrapper.sh index c5c67e25f5ae..d64b12941f6a 100644 --- a/net-p2p/frost/files/wrapper.sh +++ b/net-p2p/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-p2p/frost/pkg-plist b/net-p2p/frost/pkg-plist index 7a01a675b4fe..13eac6753203 100644 --- a/net-p2p/frost/pkg-plist +++ b/net-p2p/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%% |