aboutsummaryrefslogtreecommitdiff
path: root/devel/fujaba
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-07-15 12:48:11 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-07-15 12:48:11 +0000
commit5a0f39ebd80ea8239e3a251abb6092d26986898b (patch)
treeee033d3e327c3a7e0d6887cfbaedd805ec0fb773 /devel/fujaba
parent98a7d5449d6bd775e3e7c65143d9da00c5fe3bda (diff)
downloadports-5a0f39ebd80ea8239e3a251abb6092d26986898b.tar.gz
ports-5a0f39ebd80ea8239e3a251abb6092d26986898b.zip
Notes
Diffstat (limited to 'devel/fujaba')
-rw-r--r--devel/fujaba/Makefile62
-rw-r--r--devel/fujaba/distinfo2
-rw-r--r--devel/fujaba/files/fujaba.sh.in5
-rw-r--r--devel/fujaba/pkg-descr13
4 files changed, 82 insertions, 0 deletions
diff --git a/devel/fujaba/Makefile b/devel/fujaba/Makefile
new file mode 100644
index 000000000000..a6bd82e9510f
--- /dev/null
+++ b/devel/fujaba/Makefile
@@ -0,0 +1,62 @@
+# Ports collection makefile for: Fujaba
+# Date created: July 14, 2005
+# Whom: Gerrit Beine (<tux@pinguru.net>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= fujaba
+PORTVERSION= 4.3.1
+CATEGORIES= devel java
+MASTER_SITES= http://wwwcs.uni-paderborn.de/cs/fujaba/downloads/packages/Fujaba_4/
+DISTNAME= FujabaToolSuite_Developer${PORTVERSION:S/./_/g}
+
+MAINTAINER= tux@pinguru.net
+COMMENT= Another UML CASE tool
+
+RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
+
+USE_ZIP= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.4+
+USE_REINPLACE= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/Fujaba\ Tool\ Suite\ ${PORTVERSION}
+
+DATAFILES= DTDs Templates libs plugins stylesheets\
+ GNULesserGeneralPublicLicense.txt api.zip fujaba.jar src.jar
+
+PLIST_FILES= bin/fujaba %%DATADIR%%/bin/fujaba.sh
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+PLIST_FILES+= %%DATADIR%%/doc
+.endif
+
+SUB_FILES= fujaba.sh
+SUB_LIST= LOCALBASE="${LOCALBASE}" DATADIR="${DATADIR}"
+
+do-install:
+ ${MKDIR} ${DATADIR}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/fujaba.sh ${DATADIR}/bin/
+ ${LN} -s ${DATADIR}/bin/fujaba.sh ${PREFIX}/bin/fujaba
+ cd ${WRKSRC}/ \
+ && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \
+ && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${LN} -s ${DOCSDIR} ${DATADIR}/doc
+ cd ${WRKSRC}/doc/ \
+ && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
+ && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
+.endif
+
+post-install:
+ @${FIND} -s ${DATAFILES:S,^,${WRKSRC}/,} -not -type d \
+ | ${SED} -ne 's,^${WRKSRC},${DATADIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
+ @${FIND} -s -d ${DATAFILES:S,^,${WRKSRC}/,} -type d \
+ | ${SED} -ne 's,^${WRKSRC},@dirrm ${DATADIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
+ @${ECHO_CMD} "@dirrm ${DATADIR:S,^${PREFIX}/,,}/bin" >> ${TMPPLIST}
+ @${ECHO_CMD} "@dirrm ${DATADIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/devel/fujaba/distinfo b/devel/fujaba/distinfo
new file mode 100644
index 000000000000..2fc15c653cac
--- /dev/null
+++ b/devel/fujaba/distinfo
@@ -0,0 +1,2 @@
+MD5 (FujabaToolSuite_Developer4_3_1.zip) = 341f00a327486a2f1e4f69f521b82c20
+SIZE (FujabaToolSuite_Developer4_3_1.zip) = 19421032
diff --git a/devel/fujaba/files/fujaba.sh.in b/devel/fujaba/files/fujaba.sh.in
new file mode 100644
index 000000000000..5025f1ea99e1
--- /dev/null
+++ b/devel/fujaba/files/fujaba.sh.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/fujaba.jar" "$@"
diff --git a/devel/fujaba/pkg-descr b/devel/fujaba/pkg-descr
new file mode 100644
index 000000000000..bfe6da3cb5dd
--- /dev/null
+++ b/devel/fujaba/pkg-descr
@@ -0,0 +1,13 @@
+Fujaba Tool Suite 4
+
+The primary topic of the Fujaba Tool Suite project is to provide an easy to
+extend UML and Java development platform with the ability to add plug-ins.
+
+* Fujaba Tool Suite combines UML class diagrams and UML behaviour diagrams to
+ a powerful, easy to use, yet formal system design and specification language.
+* Furthermore the Fujaba Tool Suite supports the generation of Java sourcecode
+ out of the whole design which results in an executable prototype, ideally.
+* Moreover the way back is provided, too (to some extend so far), so that Java
+ sourcecode can be parsed and represented within UML.
+
+WWW: http://wwwcs.uni-paderborn.de/cs/fujaba/index.html