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 if they're declared in the same
diagram.
- Support for JavaBeans(tm): will create automagically methods to access
and modify each attribute.
This is a complete rewrite of dia2code in C++ contributed by Vincent Le
Garrec.
WWW: http://dia2code.sourceforge.net/
Limit devel/dia2code PORTSCOUT within 0.X.X versions only
31 lines
581 B
Makefile
31 lines
581 B
Makefile
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dia2code
|
|
PORTVERSION= 0.8.8
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Small utility used to generate code from a Dia diagram
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
PORTSCOUT= limit:^0\.
|
|
|
|
USES= iconv
|
|
USE_GNOME= libxml2
|
|
GNU_CONFIGURE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PLIST_FILES= bin/dia2code \
|
|
man/man1/dia2code.1.gz
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|