Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2017 19:38:56 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r435566 - in head/devel: . dia2code dia2code+
Message-ID:  <201703061938.v26Jcu3c023426@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Mon Mar  6 19:38:56 2017
New Revision: 435566
URL: https://svnweb.freebsd.org/changeset/ports/435566

Log:
  [NEW] devel/dia2code+:Complete rewrite of dia2code in C++
  
  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

Added:
  head/devel/dia2code+/
  head/devel/dia2code+/Makefile   (contents, props changed)
  head/devel/dia2code+/distinfo   (contents, props changed)
  head/devel/dia2code+/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile
  head/devel/dia2code/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Mar  6 19:27:57 2017	(r435565)
+++ head/devel/Makefile	Mon Mar  6 19:38:56 2017	(r435566)
@@ -404,6 +404,7 @@
     SUBDIR += devtodo
     SUBDIR += dfuife-curses
     SUBDIR += dia2code
+    SUBDIR += dia2code+
     SUBDIR += diffuse
     SUBDIR += ding-libs
     SUBDIR += directfb

Added: head/devel/dia2code+/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/dia2code+/Makefile	Mon Mar  6 19:38:56 2017	(r435566)
@@ -0,0 +1,29 @@
+# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	dia2code+
+PORTVERSION=	1.0.0
+CATEGORIES=	devel
+MASTER_SITES=	SF/dia2code/dia2code+/${PORTVERSION}
+DISTNAME=	dia2code-${PORTVERSION}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Complete rewrite of dia2code in C++
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		autoreconf:build compiler:gcc-c++11-lib 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}/docs/dia2code.1 ${STAGEDIR}${MANPREFIX}/man/man1
+
+.include <bsd.port.mk>

Added: head/devel/dia2code+/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/dia2code+/distinfo	Mon Mar  6 19:38:56 2017	(r435566)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1488715576
+SHA256 (dia2code-1.0.0.tar.gz) = c7746379cd15267fc3f600af16f77490e28f3becd260b7440f53776239ad491d
+SIZE (dia2code-1.0.0.tar.gz) = 946967

Added: head/devel/dia2code+/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/dia2code+/pkg-descr	Mon Mar  6 19:38:56 2017	(r435566)
@@ -0,0 +1,17 @@
+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/

Modified: head/devel/dia2code/Makefile
==============================================================================
--- head/devel/dia2code/Makefile	Mon Mar  6 19:27:57 2017	(r435565)
+++ head/devel/dia2code/Makefile	Mon Mar  6 19:38:56 2017	(r435566)
@@ -12,6 +12,8 @@ COMMENT=	Small utility used to generate 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+PORTSCOUT=	limit:^0\.
+
 USES=		iconv
 USE_GNOME=	libxml2
 GNU_CONFIGURE=	yes



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