aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-02-07 12:44:38 +0800
committerrafan <rafan@FreeBSD.org>2008-02-07 12:44:38 +0800
commit4aba6ba330dbdc8b4a6037718028f28b4b9a49f3 (patch)
tree74f9671415a967bea2c186e27a594bc7531915d2
parent7f66973ebd2475383d5c97577ef86eb71e3b92c9 (diff)
downloadfreebsd-ports-gnome-4aba6ba330dbdc8b4a6037718028f28b4b9a49f3.tar.gz
freebsd-ports-gnome-4aba6ba330dbdc8b4a6037718028f28b4b9a49f3.tar.zst
freebsd-ports-gnome-4aba6ba330dbdc8b4a6037718028f28b4b9a49f3.zip
- Update to 5.2
PR: ports/120261 Submitted by: Yoshihiko Sarumaru <mistral at imasy.or.jp> (maintainer)
-rw-r--r--devel/astah-community/Makefile46
-rw-r--r--devel/astah-community/distinfo6
-rw-r--r--devel/jude-community/Makefile46
-rw-r--r--devel/jude-community/distinfo6
4 files changed, 62 insertions, 42 deletions
diff --git a/devel/astah-community/Makefile b/devel/astah-community/Makefile
index 83ec07251f1c..df1cde9692be 100644
--- a/devel/astah-community/Makefile
+++ b/devel/astah-community/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= jude-community
-PORTVERSION= 5.1.1
+PORTVERSION= 5.2
CATEGORIES= devel java
MASTER_SITES= # you have to register yourself as a member to download
DISTNAME= ${PORTNAME}-${PORTVERSION:S!.!_!g}
@@ -16,12 +16,19 @@ COMMENT= A Java/UML Object-Oriented Design Tool
USE_ZIP= yes
USE_JAVA= yes
-# HTML export doesn't work with JDK 5.0.
-# Expect that, Jude Community 3.1 works fine with JDK 5.0
-# work around to use JDK 5.0: symlink or copy tools.jar from JDK 1.4.
+
+# Export HTML function can be used with JDK 1.4 only.
+# (But it can work with JDK 1.5 + copying JDK 1.4 tools.jar to ${DATADIR})
+# In case you are going to use JDK1.5+ in Japanese environment, make sure
+# you have prepared following command to avoid from font problem:
+# ln -s /usr/local/lib/X11/fonts/TrueType \
+# /usr/local/diablo-jdk1.5.0/jre/lib/fonts/fallback
+.if !defined(WITHOUT_EXPORT_HTML)
JAVA_VERSION= 1.4
-# It doesn't work well with linux-sun-jdk14
-# I haven't tested with the jdks of blackdown or ibm
+.else
+JAVA_VERSION= 1.4+
+.endif
+
JAVA_OS= native
NO_BUILD= yes
@@ -32,14 +39,19 @@ WRKSRC= ${WRKDIR}/${PORTNAME:S!-!_!}
DOWNLOAD_URL= http://jude.change-vision.com/jude-web/download/index.html
PLIST_FILES= bin/jude share/${PORTNAME}/mozilla
-DATA_FILES= ${PORTNAME}.jar jude-api.jar JudeDefaultModel.jude \
- JudeDefaultModel_ja.jude jude-gui_en.properties_org \
- jude.ico jude-doc.ico Welcome.jude Welcome_ja.jude
+DATA_FILES= ${PORTNAME}.jar jude-api.jar jude-gui_en.properties_org \
+ jude.ico jude-doc.ico Welcome.jude Welcome_ja.jude \
+ template/project/Java1.4.jude template/project/Java5.jude
+
.for file in ${DATA_FILES}
PLIST_FILES+= share/${PORTNAME}/${file}
.endfor
+.if !defined(WITHOUT_EXPORT_HTML)
PLIST_FILES+= share/${PORTNAME}/tools.jar
-PLIST_DIRS= share/${PORTNAME}
+.endif
+PLIST_DIRS= share/${PORTNAME}/template/project \
+ share/${PORTNAME}/template \
+ share/${PORTNAME}
.if !defined(NOPORTDOCS)
PORTDOCS+= README-e.txt README.txt ReleaseNote-e.html ReleaseNote.html \
@@ -65,20 +77,18 @@ do-install:
${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/jude ${PREFIX}/bin
${INSTALL_SCRIPT} ${FILESDIR}/mozilla ${DATADIR}
-.for datafile in ${DATA_FILES}
- ${INSTALL_DATA} ${WRKSRC}/${datafile} ${DATADIR}
-.endfor
- # ExportHTML needs lib/tools.jar to be copied
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATA_FILES}" ${DATADIR})
+.if !defined(WITHOUT_EXPORT_HTML)
+ # ExportHTML needs lib/tools.jar of JDK1.4
${LN} -s ${JAVA_HOME}/lib/tools.jar ${DATADIR}
-
+.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for docfile in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
- @ ${MKDIR} ${DOCSDIR}/api
- @ cd ${WRKSRC}/api && ${FIND} . | \
- ${CPIO} --quiet -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/api
+ ${MKDIR} ${DOCSDIR}/api
+ (cd ${WRKSRC}/api && ${COPYTREE_SHARE} \* ${DOCSDIR}/api)
@ cd ${PREFIX} && ${FIND} share/doc/${PORTNAME}/api -type f -print | \
${SORT} -r >> ${TMPPLIST}
@ cd ${PREFIX} && ${FIND} share/doc/${PORTNAME}/api -type d -print | \
diff --git a/devel/astah-community/distinfo b/devel/astah-community/distinfo
index 6b6a22ea97c8..0e644de5a142 100644
--- a/devel/astah-community/distinfo
+++ b/devel/astah-community/distinfo
@@ -1,3 +1,3 @@
-MD5 (jude-community-5_1_1.zip) = ce46e0f9ca720ead60d52c052da228a3
-SHA256 (jude-community-5_1_1.zip) = c03ad1be77e1c7a06d17133bbf73a1a62bc27cb77e97492edda67e62e75f2b8d
-SIZE (jude-community-5_1_1.zip) = 7671961
+MD5 (jude-community-5_2.zip) = a2d9727288616f74e266d39d13bbbbe4
+SHA256 (jude-community-5_2.zip) = 65a60116d4a006c754d6ffc2169caba5a224b22a16150f1a353547da111b4602
+SIZE (jude-community-5_2.zip) = 8229940
diff --git a/devel/jude-community/Makefile b/devel/jude-community/Makefile
index 83ec07251f1c..df1cde9692be 100644
--- a/devel/jude-community/Makefile
+++ b/devel/jude-community/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= jude-community
-PORTVERSION= 5.1.1
+PORTVERSION= 5.2
CATEGORIES= devel java
MASTER_SITES= # you have to register yourself as a member to download
DISTNAME= ${PORTNAME}-${PORTVERSION:S!.!_!g}
@@ -16,12 +16,19 @@ COMMENT= A Java/UML Object-Oriented Design Tool
USE_ZIP= yes
USE_JAVA= yes
-# HTML export doesn't work with JDK 5.0.
-# Expect that, Jude Community 3.1 works fine with JDK 5.0
-# work around to use JDK 5.0: symlink or copy tools.jar from JDK 1.4.
+
+# Export HTML function can be used with JDK 1.4 only.
+# (But it can work with JDK 1.5 + copying JDK 1.4 tools.jar to ${DATADIR})
+# In case you are going to use JDK1.5+ in Japanese environment, make sure
+# you have prepared following command to avoid from font problem:
+# ln -s /usr/local/lib/X11/fonts/TrueType \
+# /usr/local/diablo-jdk1.5.0/jre/lib/fonts/fallback
+.if !defined(WITHOUT_EXPORT_HTML)
JAVA_VERSION= 1.4
-# It doesn't work well with linux-sun-jdk14
-# I haven't tested with the jdks of blackdown or ibm
+.else
+JAVA_VERSION= 1.4+
+.endif
+
JAVA_OS= native
NO_BUILD= yes
@@ -32,14 +39,19 @@ WRKSRC= ${WRKDIR}/${PORTNAME:S!-!_!}
DOWNLOAD_URL= http://jude.change-vision.com/jude-web/download/index.html
PLIST_FILES= bin/jude share/${PORTNAME}/mozilla
-DATA_FILES= ${PORTNAME}.jar jude-api.jar JudeDefaultModel.jude \
- JudeDefaultModel_ja.jude jude-gui_en.properties_org \
- jude.ico jude-doc.ico Welcome.jude Welcome_ja.jude
+DATA_FILES= ${PORTNAME}.jar jude-api.jar jude-gui_en.properties_org \
+ jude.ico jude-doc.ico Welcome.jude Welcome_ja.jude \
+ template/project/Java1.4.jude template/project/Java5.jude
+
.for file in ${DATA_FILES}
PLIST_FILES+= share/${PORTNAME}/${file}
.endfor
+.if !defined(WITHOUT_EXPORT_HTML)
PLIST_FILES+= share/${PORTNAME}/tools.jar
-PLIST_DIRS= share/${PORTNAME}
+.endif
+PLIST_DIRS= share/${PORTNAME}/template/project \
+ share/${PORTNAME}/template \
+ share/${PORTNAME}
.if !defined(NOPORTDOCS)
PORTDOCS+= README-e.txt README.txt ReleaseNote-e.html ReleaseNote.html \
@@ -65,20 +77,18 @@ do-install:
${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/jude ${PREFIX}/bin
${INSTALL_SCRIPT} ${FILESDIR}/mozilla ${DATADIR}
-.for datafile in ${DATA_FILES}
- ${INSTALL_DATA} ${WRKSRC}/${datafile} ${DATADIR}
-.endfor
- # ExportHTML needs lib/tools.jar to be copied
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATA_FILES}" ${DATADIR})
+.if !defined(WITHOUT_EXPORT_HTML)
+ # ExportHTML needs lib/tools.jar of JDK1.4
${LN} -s ${JAVA_HOME}/lib/tools.jar ${DATADIR}
-
+.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for docfile in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
- @ ${MKDIR} ${DOCSDIR}/api
- @ cd ${WRKSRC}/api && ${FIND} . | \
- ${CPIO} --quiet -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/api
+ ${MKDIR} ${DOCSDIR}/api
+ (cd ${WRKSRC}/api && ${COPYTREE_SHARE} \* ${DOCSDIR}/api)
@ cd ${PREFIX} && ${FIND} share/doc/${PORTNAME}/api -type f -print | \
${SORT} -r >> ${TMPPLIST}
@ cd ${PREFIX} && ${FIND} share/doc/${PORTNAME}/api -type d -print | \
diff --git a/devel/jude-community/distinfo b/devel/jude-community/distinfo
index 6b6a22ea97c8..0e644de5a142 100644
--- a/devel/jude-community/distinfo
+++ b/devel/jude-community/distinfo
@@ -1,3 +1,3 @@
-MD5 (jude-community-5_1_1.zip) = ce46e0f9ca720ead60d52c052da228a3
-SHA256 (jude-community-5_1_1.zip) = c03ad1be77e1c7a06d17133bbf73a1a62bc27cb77e97492edda67e62e75f2b8d
-SIZE (jude-community-5_1_1.zip) = 7671961
+MD5 (jude-community-5_2.zip) = a2d9727288616f74e266d39d13bbbbe4
+SHA256 (jude-community-5_2.zip) = 65a60116d4a006c754d6ffc2169caba5a224b22a16150f1a353547da111b4602
+SIZE (jude-community-5_2.zip) = 8229940