ports/99690: update port: devel/jude-community: update to 3.0

Yoshihiko Sarumaru mistral at imasy.or.jp
Sat Jul 1 15:20:15 UTC 2006


>Number:         99690
>Category:       ports
>Synopsis:       update port: devel/jude-community: update to 3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 01 15:20:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihiko Sarumaru
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD shimako.yamayuri.org 6.1-STABLE FreeBSD 6.1-STABLE #4: Sat Jun 17 14:52:16 JST 2006 sarumaru at shimako.yamayuri.org:/usr/obj/usr/src/sys/VGN-T72 i386


	
>Description:
	This PR updates devel/jude-community to 3.0.
	In this major version up, following updates are performed:
	- JUDE API
	- Convert AssociationClass to Class or Association
	- Drop & Drag of File
	- Adding continuously Attributes/Operations with Enter Key
	- Add dropdown buttons for Associations and more others
	- Bug Fix
>How-To-Repeat:
	
>Fix:

Important: pkg-plist was removd.

diff -urN /usr/ports/devel/jude-community.orig/Makefile /usr/ports/devel/jude-community/Makefile
--- /usr/ports/devel/jude-community.orig/Makefile	Thu May 11 03:50:13 2006
+++ /usr/ports/devel/jude-community/Makefile	Sat Jul  1 23:56:38 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	jude-community
-PORTVERSION=	2.5.1
+PORTVERSION=	3.0
 CATEGORIES=	devel java
 MASTER_SITES=	# you have to register yourself as a member to download
 DISTNAME=	${PORTNAME}-${PORTVERSION:S!.!_!g}
@@ -23,17 +23,25 @@
 JAVA_OS=	native
 NO_BUILD=	yes
 
-RESTRICTED=	"See http://jude.change-vision.com/jude-web/notes/ProductLicenseAgreement.html"
+RESTRICTED=	See http://jude.change-vision.com/jude-web/notes/ProductLicenseAgreement.html
 NO_CDROM=	${RESTRICTED}
 
-PLIST_SUB+=	PORTNAME=${PORTNAME}
-
 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 \
+		jude.ico jude-doc.ico Welcome.jude
+.for file in ${DATA_FILES}
+PLIST_FILES+=	share/${PORTNAME}/${file}
+.endfor
+PLIST_FILES+=	share/${PORTNAME}/tools.jar
+PLIST_DIRS=	share/${PORTNAME}
+
 .if !defined(NOPORTDOCS)
-PORTDOCS=	README-e.txt README.txt ReleaseNote-e.html ReleaseNote.html
+PORTDOCS+=	README-e.txt README.txt ReleaseNote-e.html ReleaseNote.html \
+		ProductInformation.txt
 .endif
 
 .include <bsd.port.pre.mk>
@@ -47,22 +55,32 @@
 post-patch:
 	${REINPLACE_CMD} -e "s!%%JAVA_HOME%%!${JAVA_HOME}!; \
 	                     s!%%DATADIR%%!${DATADIR}!" ${WRKSRC}/jude
+.if !defined(NOPORTDOCS)
+	${REINPLACE_CMD} 's/png\\/png\//' ${WRKSRC}/api/*/doc/index.html
+.endif
 
 do-install:
 	${MKDIR} ${DATADIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/jude ${PREFIX}/bin
 	${INSTALL_SCRIPT} ${FILESDIR}/mozilla ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/JudeDefaultModel.jude ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/jude.ico ${DATADIR}
+.for datafile in ${DATA_FILES}
+	${INSTALL_DATA} ${WRKSRC}/${datafile} ${DATADIR}
+.endfor
 	# ExportHTML needs lib/tools.jar to be copied
 	${LN} -s ${JAVA_HOME}/lib/tools.jar ${DATADIR}
 
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
-.for file in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${file} ${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
+	@ cd ${PREFIX} && ${FIND} share/doc/${PORTNAME}/api -type f -print | \
+		${SORT} -r >> ${TMPPLIST}
+	@ cd ${PREFIX} && ${FIND} share/doc/${PORTNAME}/api -type d -print | \
+		${SORT} -r |  ${SED} -e 's#^#@dirrm #' >> ${TMPPLIST}
 .endif
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/devel/jude-community.orig/distinfo /usr/ports/devel/jude-community/distinfo
--- /usr/ports/devel/jude-community.orig/distinfo	Sun Mar 19 19:03:38 2006
+++ /usr/ports/devel/jude-community/distinfo	Fri Jun 30 02:02:34 2006
@@ -1,3 +1,3 @@
-MD5 (jude-community-2_5_1.zip) = f0f387ca6ac26e366c29e6b3396ee4f5
-SHA256 (jude-community-2_5_1.zip) = 398bf74a569a5ad2f76e1fff92f08d9797c9481e7fa86c0143063dda78d58a3d
-SIZE (jude-community-2_5_1.zip) = 3865957
+MD5 (jude-community-3_0.zip) = 5ab57d91b1af58e080ce0345aadd74ff
+SHA256 (jude-community-3_0.zip) = 392a8d4111fe6398f8ee0ec94cb40f76ee60616770cce43f8b3e87e8660c2f9c
+SIZE (jude-community-3_0.zip) = 4880565
diff -urN /usr/ports/devel/jude-community.orig/pkg-descr /usr/ports/devel/jude-community/pkg-descr
--- /usr/ports/devel/jude-community.orig/pkg-descr	Sun Mar 19 19:02:36 2006
+++ /usr/ports/devel/jude-community/pkg-descr	Sun Jul  2 00:14:10 2006
@@ -1,18 +1,21 @@
-Jude/Community is a new tool which supports your object-oriented software 
-designing in Java(TM) and UML1.4(Unified Modeling Language). 
+JUDE/Community is the free edition with basic features.
+It is rich in functionality, offering features, such as editing and printing
+UML1.4 diagrams, import/export of Java source code, graphics output, and
+auto layout. (A restriction is that the JUDE logo always appears in the header
+of printed documents.)
 
-Basic Functions
-- Support of UML1.4
-- Class Diagram
-  (Object, Package, Subsystem and Robustness Diagrams are included.)
-- Usecase Diagram
-- Sequence Diagram
-- Collaboration Diagram
-- Statechart Diagram
-- Activity Diagram
-- Deployment Diagram
-- Component Diagram
-- Generate Java source code from model.
-- Import Java source files to create model.
+Basic Features
+JUDE supports the following basic UML 1.4 diagrams:
+- Class (Object, Package, Robustness)
+- Usecase
+- Sequence
+- Collaboration
+- Statechart
+- Activity
+- Component
+- Deployment
+- Template Generation of Java Source Files
+- Import of Java Source Files
+- Automatic Generation of Class Diagrams with Model Information
 
 WWW: http://jude.change-vision.com/jude-web/index.html
diff -urN /usr/ports/devel/jude-community.orig/pkg-plist /usr/ports/devel/jude-community/pkg-plist
--- /usr/ports/devel/jude-community.orig/pkg-plist	Mon Aug  1 23:32:28 2005
+++ /usr/ports/devel/jude-community/pkg-plist	Thu Jan  1 09:00:00 1970
@@ -1,7 +0,0 @@
-bin/jude
-%%DATADIR%%/mozilla
-%%DATADIR%%/%%PORTNAME%%.jar
-%%DATADIR%%/JudeDefaultModel.jude
-%%DATADIR%%/jude.ico
-%%DATADIR%%/tools.jar
- at dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list