summaryrefslogtreecommitdiffstats
path: root/multimedia/projectx
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-12-27 06:56:17 +0000
committeredwin <edwin@FreeBSD.org>2005-12-27 06:56:17 +0000
commitbd16180372c08dada21d8090caf80fcb1a223a2e (patch)
tree5088b997f306460007010399f00bb1cabea2a055 /multimedia/projectx
parent170db41a0d75b69624b5a80c7aaaf9f16df007db (diff)
downloadFreeBSD-ports-bd16180372c08dada21d8090caf80fcb1a223a2e.zip
FreeBSD-ports-bd16180372c08dada21d8090caf80fcb1a223a2e.tar.gz
Update multimedia/projectx to 0.90.2.00
update to new version PR: ports/90937 Submitted by: Juergen Lock <nox@jelal.kn-bremen.de>
Diffstat (limited to 'multimedia/projectx')
-rw-r--r--multimedia/projectx/Makefile7
-rw-r--r--multimedia/projectx/distinfo4
-rw-r--r--multimedia/projectx/files/patch-html20
-rw-r--r--multimedia/projectx/files/project-x.sh.in5
-rw-r--r--multimedia/projectx/pkg-plist3
5 files changed, 34 insertions, 5 deletions
diff --git a/multimedia/projectx/Makefile b/multimedia/projectx/Makefile
index 077642b..97e62f9 100644
--- a/multimedia/projectx/Makefile
+++ b/multimedia/projectx/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= projectx
-PORTVERSION= 0.82.1.00
+PORTVERSION= 0.90.2.00
CATEGORIES= multimedia java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= project-x
@@ -24,9 +24,11 @@ USE_JIKES= no
SUB_FILES= project-x.sh
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
+WRKSRC= ${WRKDIR}/${DISTNAME:C/\.00$//}
+EXTRACT_BEFORE_ARGS+= -aq
do-configure:
- ${TR} -d '\015' <${WRKSRC}/build.sh | ${SED} -e "s|^javac|${JAVAC}|" >${WRKSRC}/build-fbsd.sh
+ ${SED} -e "s|^javac|${JAVAC}|" ${WRKSRC}/build.sh >${WRKSRC}/build-fbsd.sh
do-build:
cd ${WRKSRC} && ${MKDIR} build && ${SH} build-fbsd.sh
@@ -37,6 +39,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/lib/commons-net-1.3.0.jar ${DATADIR}/lib
${INSTALL_DATA} ${WRKSRC}/lib/jakarta-oro-2.0.8.jar ${DATADIR}/lib
${MKDIR} ${DATADIR}/htmls/images ${DATADIR}/htmls/de
+ ${INSTALL_DATA} ${WRKSRC}/*.txt ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/htmls/*.html ${DATADIR}/htmls
${INSTALL_DATA} ${WRKSRC}/htmls/de/*.html ${DATADIR}/htmls/de
${INSTALL_DATA} ${WRKSRC}/htmls/images/* ${DATADIR}/htmls/images
diff --git a/multimedia/projectx/distinfo b/multimedia/projectx/distinfo
index b2735ed..5c45697 100644
--- a/multimedia/projectx/distinfo
+++ b/multimedia/projectx/distinfo
@@ -1,2 +1,2 @@
-MD5 (ProjectX_Source_0.82.1.00.zip) = 95b87eafb547ff75df75d07b31f7355d
-SIZE (ProjectX_Source_0.82.1.00.zip) = 700265
+MD5 (ProjectX_Source_0.90.2.00.zip) = d7c1a7893e1b66d9d28f50adbe4207ba
+SIZE (ProjectX_Source_0.90.2.00.zip) = 846005
diff --git a/multimedia/projectx/files/patch-html b/multimedia/projectx/files/patch-html
new file mode 100644
index 0000000..ede4b3a
--- /dev/null
+++ b/multimedia/projectx/files/patch-html
@@ -0,0 +1,20 @@
+Index: htmls/index.html
+@@ -15,7 +15,7 @@
+ <h3>Table of Contents:</h3>
+ <ul>
+ <li> <a href="../ReadMe.txt">Readme</a></li>
+- <li> <a href="../ReleaseNotes_0.90.1.txt">What's new</a></li>
++ <li> <a href="../ReleaseNotes_0.90.2.txt">What's new</a></li>
+ <li> <a href="faq.html">NAQs &amp; FAQs<br> </a> </li>
+ <li> <a href="cli.html">CL-Interface</a></li>
+ </ul>
+Index: htmls/de/index.html
+@@ -16,7 +16,7 @@
+ <h3>Inhalt:</h3>
+ <ul>
+ <li> <a href="../../ReadMe.txt">Readme</a></li>
+- <li> <a href="../../ReleaseNotes_0.90.1.txt">Was ist neu</a></li>
++ <li> <a href="../../ReleaseNotes_0.90.2.txt">Was ist neu</a></li>
+ <li> <a href="faq.html">NAQs &amp; FAQs<br></a></li>
+ <li> <a href="cli.html">CL-Interface</a></li>
+ </ul>
diff --git a/multimedia/projectx/files/project-x.sh.in b/multimedia/projectx/files/project-x.sh.in
index 8ef402d..9058fb3 100644
--- a/multimedia/projectx/files/project-x.sh.in
+++ b/multimedia/projectx/files/project-x.sh.in
@@ -6,7 +6,10 @@ case "$#" in
0)
mkdir -p "${HOME}/.projectx"
cd "${HOME}/.projectx"
- ln -sf %%PREFIX%%/share/projectx/htmls .
+ ln -sf %%DATADIR%%/*.txt %%DATADIR%%/htmls .
+ if ! grep '^# ProjectX 0.90.2.00' X.ini >/dev/null; then
+ rm -f X.ini
+ fi
;;
esac
diff --git a/multimedia/projectx/pkg-plist b/multimedia/projectx/pkg-plist
index d177cdd..df784cd 100644
--- a/multimedia/projectx/pkg-plist
+++ b/multimedia/projectx/pkg-plist
@@ -1,5 +1,8 @@
@comment $FreeBSD$
bin/project-x
+%%DATADIR%%/ReadMe.txt
+%%DATADIR%%/ReleaseNotes_0.90.2.00.txt
+%%DATADIR%%/ReleaseNotes_0.90.2.txt
%%DATADIR%%/htmls/cli.html
%%DATADIR%%/htmls/faq.html
%%DATADIR%%/htmls/index.html
OpenPOWER on IntegriCloud