diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-03-07 12:17:49 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-03-07 12:17:49 +0800 |
commit | 2bbfb6bc606602191f815369125c6fc782f5663d (patch) | |
tree | 4a8e0fc6e3520b60ce09d6b98a06f47519bae22e /devel | |
parent | ab9f712c32c5468d5a53bc63b5cc8a3fad3934af (diff) | |
download | freebsd-ports-gnome-2bbfb6bc606602191f815369125c6fc782f5663d.tar.gz freebsd-ports-gnome-2bbfb6bc606602191f815369125c6fc782f5663d.tar.zst freebsd-ports-gnome-2bbfb6bc606602191f815369125c6fc782f5663d.zip |
add dia2code
Dia2Code is a small utility used to generate code from a Dia diagram
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/dia2code/Makefile | 28 | ||||
-rw-r--r-- | devel/dia2code/distinfo | 1 | ||||
-rw-r--r-- | devel/dia2code/files/patch-dia2code::Makefile.in | 20 | ||||
-rw-r--r-- | devel/dia2code/pkg-comment | 1 | ||||
-rw-r--r-- | devel/dia2code/pkg-descr | 15 | ||||
-rw-r--r-- | devel/dia2code/pkg-plist | 1 |
7 files changed, 67 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index ac5796d16b40..8eb9347f7c29 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -75,6 +75,7 @@ SUBDIR += cweb SUBDIR += cxref SUBDIR += ddd + SUBDIR += dia2code SUBDIR += diffconvert SUBDIR += dmake SUBDIR += dmalloc diff --git a/devel/dia2code/Makefile b/devel/dia2code/Makefile new file mode 100644 index 000000000000..80235b596e06 --- /dev/null +++ b/devel/dia2code/Makefile @@ -0,0 +1,28 @@ +# ex:ts=8 +# New ports collection makefile for: dia2code +# Date created: Mar 7, 2001 +# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= dia2code +PORTVERSION= 0.5 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ijliao@FreeBSD.org + +LIB_DEPENDS= xml.5:${PORTSDIR}/textproc/libxml + +USE_LIBTOOL= yes +GNU_CONFIGURE= yes + +XML_CONFIG= ${LOCALBASE}/bin/xml-config +USE_GMAKE= yes + +post-patch: + @${PERL} -pi -e "s|%%XML_CONFIG%%|${XML_CONFIG}|g" ${WRKSRC}/dia2code/Makefile.in + +.include <bsd.port.mk> diff --git a/devel/dia2code/distinfo b/devel/dia2code/distinfo new file mode 100644 index 000000000000..cebfbd1b8a63 --- /dev/null +++ b/devel/dia2code/distinfo @@ -0,0 +1 @@ +MD5 (dia2code-0.5.tar.gz) = 5cea69ebb58c3b5c262850a86cd98d9d diff --git a/devel/dia2code/files/patch-dia2code::Makefile.in b/devel/dia2code/files/patch-dia2code::Makefile.in new file mode 100644 index 000000000000..de86682c5a27 --- /dev/null +++ b/devel/dia2code/files/patch-dia2code::Makefile.in @@ -0,0 +1,20 @@ +--- dia2code/Makefile.in.orig Wed Jan 24 04:43:08 2001 ++++ dia2code/Makefile.in Wed Mar 7 11:56:58 2001 +@@ -68,7 +68,7 @@ + ####### kdevelop will overwrite this part!!! (end)############ + bin_PROGRAMS = dia2code + dia2code_SOURCES = scan_tree.c generate_code_c.c parse_diagram.c dia2code.c generate_code_java.c generate_code_cpp.c main.c +-dia2code_LDADD = -lxml ++dia2code_LDADD = `%%XML_CONFIG%% --libs` + + SUBDIRS = docs + +@@ -79,7 +79,7 @@ + PROGRAMS = $(bin_PROGRAMS) + + +-DEFS = @DEFS@ -I. -I$(srcdir) -I.. ++DEFS = @DEFS@ -I. -I$(srcdir) -I.. -I/usr/local/include + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ + LIBS = @LIBS@ diff --git a/devel/dia2code/pkg-comment b/devel/dia2code/pkg-comment new file mode 100644 index 000000000000..3f4339dad70d --- /dev/null +++ b/devel/dia2code/pkg-comment @@ -0,0 +1 @@ +Dia2Code is a small utility used to generate code from a Dia diagram diff --git a/devel/dia2code/pkg-descr b/devel/dia2code/pkg-descr new file mode 100644 index 000000000000..d7de8fa841f3 --- /dev/null +++ b/devel/dia2code/pkg-descr @@ -0,0 +1,15 @@ +Dia2Code is a small utility used to generate code from a Dia diagram. +Dia is a program to make diagrams (ports/graphics/dia) + + - Reads UML diagrams. + - Can handle UML - Generalization, UML - Realization and UML - Implements. + - Selective code generation. + - User-defined output directory. + - Stereotype handling: interfaces, abstract classes. + - "Import" and "include" based on the parent classes, the type of + attributes and return type of methods iff they're declared in the same + diagram. + - Support for JavaBeans(tm): will create automagically methods to access + and modify each attribute. + +WWW: http://dia2code.sourceforge.net/ diff --git a/devel/dia2code/pkg-plist b/devel/dia2code/pkg-plist new file mode 100644 index 000000000000..c681af4d0b33 --- /dev/null +++ b/devel/dia2code/pkg-plist @@ -0,0 +1 @@ +bin/dia2code |