aboutsummaryrefslogtreecommitdiff
path: root/multimedia/projectx
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-12-27 06:56:17 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-12-27 06:56:17 +0000
commit2f829d8c4146d2bad1678c27f1cb3e9f8326faf6 (patch)
tree2c65e734a3e5c3fe4b95ac3daba685518f09be09 /multimedia/projectx
parent601b5d04e0e2ffbdf8d80e7bc97c8af379b2a74f (diff)
downloadports-2f829d8c4146d2bad1678c27f1cb3e9f8326faf6.tar.gz
ports-2f829d8c4146d2bad1678c27f1cb3e9f8326faf6.zip
Notes
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 077642bf8e31..97e62f9da7b8 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 b2735ed6215d..5c45697fa5e7 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 000000000000..ede4b3aa31f8
--- /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 8ef402d61b5d..9058fb3d98ce 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 d177cdd533d5..df784cdab190 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