aboutsummaryrefslogtreecommitdiffstats
path: root/devel/jude-community
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2004-11-23 23:54:21 +0800
committernork <nork@FreeBSD.org>2004-11-23 23:54:21 +0800
commit95b473ac62756bbd94cd5064c0906722d545a346 (patch)
tree67ff88794aa9c2f00bbaaabc09730bac21605fe6 /devel/jude-community
parent4f91751c8ff4c03d42c6778f3b84268239b0ce7c (diff)
downloadfreebsd-ports-gnome-95b473ac62756bbd94cd5064c0906722d545a346.tar.gz
freebsd-ports-gnome-95b473ac62756bbd94cd5064c0906722d545a346.tar.zst
freebsd-ports-gnome-95b473ac62756bbd94cd5064c0906722d545a346.zip
Add jude-community 1.4.3, A Java/UML Object-Oriented Design Tool.
o jude_take -> jude-community PR: ports/73702 Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp> (maintainer) Repo copied by: marcus (portmgr)
Diffstat (limited to 'devel/jude-community')
-rw-r--r--devel/jude-community/Makefile27
-rw-r--r--devel/jude-community/distinfo4
-rw-r--r--devel/jude-community/files/netscape7
-rw-r--r--devel/jude-community/files/patch-jude16
-rw-r--r--devel/jude-community/pkg-descr4
-rw-r--r--devel/jude-community/pkg-plist11
6 files changed, 40 insertions, 29 deletions
diff --git a/devel/jude-community/Makefile b/devel/jude-community/Makefile
index a79df1afc374..b2f3f2d2d0a4 100644
--- a/devel/jude-community/Makefile
+++ b/devel/jude-community/Makefile
@@ -5,11 +5,11 @@
# $FreeBSD$
#
-PORTNAME= jude_take
-PORTVERSION= 1.3
+PORTNAME= jude-community
+PORTVERSION= 1.4.3
CATEGORIES= devel
-MASTER_SITES= # you have to answer some enquetes to download
-DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/g}
+MASTER_SITES= # you have to register yourself as a member to download
+DISTNAME= ${PORTNAME}-${PORTVERSION:S!.!_!g}
EXTRACT_SUFX= .zip
MAINTAINER= mistral@imasy.or.jp
@@ -26,32 +26,35 @@ USE_REINPLACE= yes
RESTRICTED= "See http://objectclub.esm.co.jp/Jude/permission_e.html"
NO_CDROM= ${RESTRICTED}
-WRKSRC= ${WRKDIR}/${PORTNAME}
+PLIST_SUB+= PORTNAME=${PORTNAME}
-DOWNLOAD_URL= http://objectclub.esm.co.jp/Jude/enquete_e.html
+WRKSRC= ${WRKDIR}/${PORTNAME:S!-!_!}
+
+DOWNLOAD_URL= https://www.objectclub.jp/Jude/enquete_e.html
.if !defined(NOPORTDOCS)
-PORTDOCS= README-e.txt README.txt Release_Note-e.html Release_Note.html
+PORTDOCS= README-e.txt README.txt ReleaseNote-e.html ReleaseNote.html
.endif
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
-IGNORE= "You must manually fetch the distribution file ${DISTNAME}${EXTRACT_SUFX} from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again"
+IGNORE= "You must manually fetch the distribution file from ${DOWNLOAD_URL}, then place it in ${DISTDIR} and run make again"
.endif
post-patch:
- ${REINPLACE_CMD} -e "s!%%JAVA_HOME%%!${JAVA_HOME}!" ${WRKSRC}/jude
+ ${REINPLACE_CMD} -e "s!%%JAVA_HOME%%!${JAVA_HOME}!; \
+ s!%%DATADIR%%!${DATADIR}!" ${WRKSRC}/jude
do-install:
${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/jude ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/jude-take.jar ${DATADIR}
+ ${INSTALL_SCRIPT} ${FILESDIR}/netscape ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/JudeDefaultModel.jude ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/jude.ico ${DATADIR}
# ExportHTML needs lib/tools.jar to be copied
- # ExportHTML doesn't work with version 1.3 (Known Problem)
- #${LN} -s ${JAVA_HOME}/lib/tools.jar ${DATADIR}
+ ${LN} -s ${JAVA_HOME}/lib/tools.jar ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
diff --git a/devel/jude-community/distinfo b/devel/jude-community/distinfo
index c7b9d1e11f8d..f3e5f31bdcef 100644
--- a/devel/jude-community/distinfo
+++ b/devel/jude-community/distinfo
@@ -1,2 +1,2 @@
-MD5 (jude_take1_3.zip) = 83a0ab74a6d03879f01bdbb6fcf1f761
-SIZE (jude_take1_3.zip) = 1892857
+MD5 (jude-community-1_4_3.zip) = b9a9842c77d64c0c35a7c128f7b47498
+SIZE (jude-community-1_4_3.zip) = 2308773
diff --git a/devel/jude-community/files/netscape b/devel/jude-community/files/netscape
new file mode 100644
index 000000000000..77997f4e77c1
--- /dev/null
+++ b/devel/jude-community/files/netscape
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# add your favorite browser in the top of the list
+for browser in mozilla linux-mozilla firefox linux-mozillafirebird opera linux-opera netscape7-english
+do
+ type $browser > /dev/null 2>&1 && exec $browser "$@"
+done
diff --git a/devel/jude-community/files/patch-jude b/devel/jude-community/files/patch-jude
index 26ec7349aa10..61e51ae1b8f0 100644
--- a/devel/jude-community/files/patch-jude
+++ b/devel/jude-community/files/patch-jude
@@ -1,18 +1,20 @@
---- jude.orig Tue Jan 27 17:07:58 2004
-+++ jude Tue Apr 20 10:26:43 2004
-@@ -4,12 +4,12 @@
+--- jude.orig Tue Oct 26 21:21:53 2004
++++ jude Tue Nov 9 13:58:28 2004
+@@ -3,13 +3,14 @@
+ #Remove "#" from following two lines, if you'd like to use j2sdk.
#JAVA_HOME=/usr/lib/j2sdk1.4/;export JAVA_HOME
#PATH=$JAVA_HOME/bin; export PATH
++PATH=%%DATADIR%%:$PATH
--#JUDE_HOME=/usr/local/share/jude_take
+-#JUDE_HOME=/usr/local/share/jude_community
-JUDE_HOME=`dirname $0`
-+JUDE_HOME=/usr/local/share/jude_take
++JUDE_HOME=%%DATADIR%%
+#JUDE_HOME=`dirname $0`
- JUDE_JAR=jude-take.jar
+ JUDE_JAR=jude-community.jar
CLASSPATH=$JUDE_HOME/$JUDE_JAR
- JAVA_OPTS="-Xms16m -Xmx256m -Xss1m"
+ JAVA_OPTS="-Xms16m -Xmx512m -Xss2m"
-java $JAVA_OPTS -jar $JUDE_HOME/$JUDE_JAR $1 $2 $3
+%%JAVA_HOME%%/bin/java $JAVA_OPTS -jar $JUDE_HOME/$JUDE_JAR $1 $2 $3
diff --git a/devel/jude-community/pkg-descr b/devel/jude-community/pkg-descr
index c9d7721e3e3c..7d6de1a8e5e9 100644
--- a/devel/jude-community/pkg-descr
+++ b/devel/jude-community/pkg-descr
@@ -1,4 +1,4 @@
-Jude is a new tool which supports your object-oriented software
+Jude/Community is a new tool which supports your object-oriented software
designing in Java(TM) and UML1.4(Unified Modeling Language).
Basic Functions
@@ -15,6 +15,4 @@ Basic Functions
- Generate Java source code from model.
- Import Java source files to create model.
-tips: "take" [take] is a word for bamboo in Japanese and it means middle grade.
-
WWW: http://objectclub.esm.co.jp/Jude/jude-e.html
diff --git a/devel/jude-community/pkg-plist b/devel/jude-community/pkg-plist
index 0bbfba7ed5e0..ca1518bdd3a6 100644
--- a/devel/jude-community/pkg-plist
+++ b/devel/jude-community/pkg-plist
@@ -1,6 +1,7 @@
bin/jude
-share/jude_take/jude-take.jar
-share/jude_take/JudeDefaultModel.jude
-share/jude_take/jude.ico
-@comment share/jude_take/tools.jar
-@dirrm share/jude_take
+%%DATADIR%%/netscape
+%%DATADIR%%/%%PORTNAME%%.jar
+%%DATADIR%%/JudeDefaultModel.jude
+%%DATADIR%%/jude.ico
+%%DATADIR%%/tools.jar
+@dirrm %%DATADIR%%