aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-06-29 17:59:33 +0800
committerijliao <ijliao@FreeBSD.org>2004-06-29 17:59:33 +0800
commit076ab03bd151c9e5bb189bd28414e0425497d8d7 (patch)
tree5f9d27ca2e17a5477b923ea61f08f36c6e261381 /devel
parent78a406fbafc1a71599183769775488ab6289dae9 (diff)
downloadfreebsd-ports-gnome-076ab03bd151c9e5bb189bd28414e0425497d8d7.tar.gz
freebsd-ports-gnome-076ab03bd151c9e5bb189bd28414e0425497d8d7.tar.zst
freebsd-ports-gnome-076ab03bd151c9e5bb189bd28414e0425497d8d7.zip
add klassmodeler 0.8.2
A tool for visually creating and documenting classes
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/klassmodeler/Makefile45
-rw-r--r--devel/klassmodeler/distinfo2
-rw-r--r--devel/klassmodeler/pkg-descr19
4 files changed, 67 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index d60b69477d77..8c04d81d0935 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -357,6 +357,7 @@
SUBDIR += kdevelop
SUBDIR += kimwitu
SUBDIR += kimwitu++
+ SUBDIR += klassmodeler
SUBDIR += kodos
SUBDIR += korelib
SUBDIR += kprof
diff --git a/devel/klassmodeler/Makefile b/devel/klassmodeler/Makefile
new file mode 100644
index 000000000000..477c05bcfa5a
--- /dev/null
+++ b/devel/klassmodeler/Makefile
@@ -0,0 +1,45 @@
+# ex:ts=8
+# Ports collection makefile for: klassmodeler
+# Date created: Jun 29, 2004
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= klassmodeler
+PORTVERSION= 0.8.2
+CATEGORIES= devel
+MASTER_SITES= http://www.jameswells.net/KlassModeler/
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A tool for visually creating and documenting classes
+
+LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
+
+USE_REINPLACE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}/Release
+WX_CONFIG= ${X11BASE}/bin/wxgtk2-2.4-config
+USE_GNOME= gnometarget
+GNU_CONFIGURE= yes
+CONFIGURE_SCRIPT= ../configure
+CONFIGURE_ENV= WXWINDOWS="yes"
+
+PLIST_FILES= bin/klassmodeler
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e "s,\`wx-config,\`${WX_CONFIG}," ${WRKSRC}/../configure
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/klassmodeler/klassmodeler ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${CP} ${WRKSRC}/../klassmodeler/docs/en/*.html ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/klassmodeler/distinfo b/devel/klassmodeler/distinfo
new file mode 100644
index 000000000000..5eb498892109
--- /dev/null
+++ b/devel/klassmodeler/distinfo
@@ -0,0 +1,2 @@
+MD5 (klassmodeler-0.8.tgz) = 81ac971de57ebd35f668f3b198b7e44c
+SIZE (klassmodeler-0.8.tgz) = 737134
diff --git a/devel/klassmodeler/pkg-descr b/devel/klassmodeler/pkg-descr
new file mode 100644
index 000000000000..852768dd9aba
--- /dev/null
+++ b/devel/klassmodeler/pkg-descr
@@ -0,0 +1,19 @@
+The KlassModeler is a tool for visually creating and documenting classes. It is
+not unlike other UML design tools except for four major differences:
+ * Strict focus on class modeling: UML as a whole does a lot of things that
+ I never really found a use for. I am only interested in class and
+ inheritence modeling and documentation. I don't like having lots of
+ comments in my source, so I find it nicer to have the docs in the class
+ model.
+ * Code generation: I think there are some UML tools out there that do this,
+ but they tend to generate it with lots of special comments that tell the
+ tool where things are and how to re-write the files and all that. The
+ KlassModeler writes headers that I find clean and easy to read.
+ * Reads existing headers: You can point it to a header file and it will
+ read it in and create a class diagram. You can use this functionality to
+ import existing projects into KlassModeler.
+ * HTML doc generation: It spits out a set of HTML pages that puts all your
+ documentation in an easy to read format that can be used with any web
+ browser. A very big plus for helping other people understand your code.
+
+WWW: http://www.jameswells.net/KlassModeler/