Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 2004 14:41:36 +0900 (JST)
From:      Yoshihiko Sarumaru <mistral@imasy.or.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/73702: new port: devel/jude-community
Message-ID:  <200411090541.iA95fajx010477@shimako.yamayuri.org>
Resent-Message-ID: <200411090550.iA95oRPE073597@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73702
>Category:       ports
>Synopsis:       new port: devel/jude-community
>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:   Tue Nov 09 05:50:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihiko Sarumaru
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD shimako.yamayuri.org 4.10-STABLE FreeBSD 4.10-STABLE #1: Tue Nov 9 00:18:14 JST 2004 sarumaru@shimako.yamayuri.org:/usr/obj/usr/src/sys/Z505VRK i386


	
>Description:
	This ports skelton introduces a UML editor called Jude/Community
>How-To-Repeat:
	
>Fix:
	The previous version of this product was called "Jude Take" and it 
	was already placed in ports/devel/jude_take.
	This product (Jude/Community) is a successor of that product,
	and ports/devel/jude_take can be removed from the ports tree
	(maintainer of that port is myself).
	I don't think repo copy is required because there is no important
	history in jude_take...

	Thanks,

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	jude-community
#	jude-community/files
#	jude-community/files/patch-jude
#	jude-community/files/netscape
#	jude-community/Makefile
#	jude-community/distinfo
#	jude-community/pkg-plist
#	jude-community/pkg-descr
#
echo c - jude-community
mkdir -p jude-community > /dev/null 2>&1
echo c - jude-community/files
mkdir -p jude-community/files > /dev/null 2>&1
echo x - jude-community/files/patch-jude
sed 's/^X//' >jude-community/files/patch-jude << 'END-of-jude-community/files/patch-jude'
X--- jude.orig	Tue Oct 26 21:21:53 2004
X+++ jude	Tue Nov  9 13:58:28 2004
X@@ -3,13 +3,14 @@
X #Remove "#" from following two lines, if you'd like to use j2sdk.
X #JAVA_HOME=/usr/lib/j2sdk1.4/;export JAVA_HOME
X #PATH=$JAVA_HOME/bin; export PATH
X+PATH=%%DATADIR%%:$PATH
X 
X-#JUDE_HOME=/usr/local/share/jude_community
X-JUDE_HOME=`dirname $0`
X+JUDE_HOME=%%DATADIR%%
X+#JUDE_HOME=`dirname $0`
X JUDE_JAR=jude-community.jar
X 
X CLASSPATH=$JUDE_HOME/$JUDE_JAR
X 
X JAVA_OPTS="-Xms16m -Xmx512m -Xss2m"
X 
X-java $JAVA_OPTS -jar $JUDE_HOME/$JUDE_JAR  $1 $2 $3
X+%%JAVA_HOME%%/bin/java $JAVA_OPTS -jar $JUDE_HOME/$JUDE_JAR  $1 $2 $3
END-of-jude-community/files/patch-jude
echo x - jude-community/files/netscape
sed 's/^X//' >jude-community/files/netscape << 'END-of-jude-community/files/netscape'
X#!/bin/sh
X
X# add your favorite browser in the top of the list
Xfor browser in mozilla linux-mozilla firefox linux-mozillafirebird opera linux-opera netscape7-english 
Xdo
X    type $browser > /dev/null 2>&1 && exec $browser "$@"
Xdone
END-of-jude-community/files/netscape
echo x - jude-community/Makefile
sed 's/^X//' >jude-community/Makefile << 'END-of-jude-community/Makefile'
X# New ports collection makefile for:	jude_take
X# Date created:				19 April 2004
X# Whom:					Yoshihiko Sarumaru <mistral@imasy.or.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	jude-community
XPORTVERSION=	1.4.1
XCATEGORIES=	devel
XMASTER_SITES=	# you have to register yourself as a member to download
XDISTNAME=	${PORTNAME}-${PORTVERSION:S!.!_!g}
XEXTRACT_SUFX=	.zip
X
XMAINTAINER=	mistral@imasy.or.jp
XCOMMENT=	A Java/UML Object-Oriented Design Tool
X
XUSE_ZIP=	yes
XUSE_JAVA=	1.4+
X# It doesn't work well with linux-sun-jdk14
X# I haven't tested with the jdks of blackdown or ibm
XJAVA_OS=	native
XNO_BUILD=	yes
XUSE_REINPLACE=	yes
X
XRESTRICTED=	"See http://objectclub.esm.co.jp/Jude/permission_e.html"
XNO_CDROM=	${RESTRICTED}
X
XPLIST_SUB+=	PORTNAME=${PORTNAME}
X
XWRKSRC=		${WRKDIR}/${PORTNAME:S!-!_!}
X
XDOWNLOAD_URL=	https://www.objectclub.jp/Jude/enquete_e.html
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=	README-e.txt README.txt ReleaseNote-e.html ReleaseNote.html
X.endif
X
X.include <bsd.port.pre.mk>
X
X.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
XIGNORE=	"You must manually fetch the distribution file from ${DOWNLOAD_URL}, then place it in ${DISTDIR} and run make again"
X.endif
X
Xpost-patch:
X	${REINPLACE_CMD} -e "s!%%JAVA_HOME%%!${JAVA_HOME}!; \
X			     s!%%DATADIR%%!${DATADIR}!" ${WRKSRC}/jude
X
Xdo-install:
X	${MKDIR} ${DATADIR}
X	${INSTALL_SCRIPT} ${WRKSRC}/jude ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${FILESDIR}/netscape ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/JudeDefaultModel.jude ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/jude.ico ${DATADIR}
X	# ExportHTML needs lib/tools.jar to be copied
X	${LN} -s ${JAVA_HOME}/lib/tools.jar ${DATADIR}
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for file in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-jude-community/Makefile
echo x - jude-community/distinfo
sed 's/^X//' >jude-community/distinfo << 'END-of-jude-community/distinfo'
XMD5 (jude-community-1_4_1.zip) = a7d73a9275dcea337c5d0f1fce25685b
XSIZE (jude-community-1_4_1.zip) = 2281160
END-of-jude-community/distinfo
echo x - jude-community/pkg-plist
sed 's/^X//' >jude-community/pkg-plist << 'END-of-jude-community/pkg-plist'
Xbin/jude
X%%DATADIR%%/netscape
X%%DATADIR%%/%%PORTNAME%%.jar
X%%DATADIR%%/JudeDefaultModel.jude
X%%DATADIR%%/jude.ico
X%%DATADIR%%/tools.jar
X@dirrm %%DATADIR%%
END-of-jude-community/pkg-plist
echo x - jude-community/pkg-descr
sed 's/^X//' >jude-community/pkg-descr << 'END-of-jude-community/pkg-descr'
XJude/Community is a new tool which supports your object-oriented software 
Xdesigning in Java(TM) and UML1.4(Unified Modeling Language). 
X
XBasic Functions
X- Support of UML1.4
X- Class Diagram
X  (Object, Package, Subsystem and Robustness Diagrams are included.)
X- Usecase Diagram
X- Sequence Diagram
X- Collaboration Diagram
X- Statechart Diagram
X- Activity Diagram
X- Deployment Diagram
X- Component Diagram
X- Generate Java source code from model.
X- Import Java source files to create model.
X
XWWW: http://objectclub.esm.co.jp/Jude/jude-e.html
END-of-jude-community/pkg-descr
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411090541.iA95fajx010477>