aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-12 02:27:36 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-12 02:27:36 +0800
commit5665b4968fc135b89d3d4077b6ebf6442c603e4a (patch)
tree8aeef0cb12a46082640a44b49754f6ce7fb1823a
parent0f27959edfc487e6e11f49a67b2dd050c7aa91a3 (diff)
downloadfreebsd-ports-graphics-5665b4968fc135b89d3d4077b6ebf6442c603e4a.tar.gz
freebsd-ports-graphics-5665b4968fc135b89d3d4077b6ebf6442c603e4a.tar.zst
freebsd-ports-graphics-5665b4968fc135b89d3d4077b6ebf6442c603e4a.zip
add qfsm 0.30
A graphical tool for designing finite state machines
-rw-r--r--cad/Makefile1
-rw-r--r--cad/qfsm/Makefile27
-rw-r--r--cad/qfsm/distinfo1
-rw-r--r--cad/qfsm/files/patch-Makefile.in11
-rw-r--r--cad/qfsm/files/patch-src:Makefile.in20
-rw-r--r--cad/qfsm/pkg-comment1
-rw-r--r--cad/qfsm/pkg-descr21
-rw-r--r--cad/qfsm/pkg-plist4
8 files changed, 86 insertions, 0 deletions
diff --git a/cad/Makefile b/cad/Makefile
index aec0937f860..48ec31d6652 100644
--- a/cad/Makefile
+++ b/cad/Makefile
@@ -25,6 +25,7 @@
SUBDIR += pdnmesh
SUBDIR += pisces
SUBDIR += qcad
+ SUBDIR += qfsm
SUBDIR += qmls
SUBDIR += sceptre
SUBDIR += sis
diff --git a/cad/qfsm/Makefile b/cad/qfsm/Makefile
new file mode 100644
index 00000000000..e139f4d9c3f
--- /dev/null
+++ b/cad/qfsm/Makefile
@@ -0,0 +1,27 @@
+# ex:ts=8
+# Ports collection makefile for: qfsm
+# Date created: Mar 14, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= qfsm
+PORTVERSION= 0.30
+CATEGORIES= cad
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+USE_QT_VER= 2
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ ${CP} ${WRKSRC}/examples/*.fsm ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/cad/qfsm/distinfo b/cad/qfsm/distinfo
new file mode 100644
index 00000000000..41a4c2dc992
--- /dev/null
+++ b/cad/qfsm/distinfo
@@ -0,0 +1 @@
+MD5 (qfsm-0.30.tar.gz) = a72dee799e3261c1e7bfb8bc46b1c979
diff --git a/cad/qfsm/files/patch-Makefile.in b/cad/qfsm/files/patch-Makefile.in
new file mode 100644
index 00000000000..c8181bf4b7f
--- /dev/null
+++ b/cad/qfsm/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Fri Apr 12 00:35:08 2002
++++ Makefile.in Fri Apr 12 00:35:16 2002
+@@ -210,7 +210,7 @@
+ x_includes = @x_includes@
+ x_libraries = @x_libraries@
+
+-SUBDIRS = src po
++SUBDIRS = src
+
+ #qfsmdir = $(prefix)/qfsm
+ #qfsm_DATA = $(srcdir)/po
diff --git a/cad/qfsm/files/patch-src:Makefile.in b/cad/qfsm/files/patch-src:Makefile.in
new file mode 100644
index 00000000000..df5115f553e
--- /dev/null
+++ b/cad/qfsm/files/patch-src:Makefile.in
@@ -0,0 +1,20 @@
+--- src/Makefile.in.orig Sun Feb 3 18:50:29 2002
++++ src/Makefile.in Fri Apr 12 00:50:19 2002
+@@ -54,7 +54,7 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-transform = @program_transform_name@
++transform =
+
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+@@ -210,7 +210,7 @@
+ x_includes = @x_includes@
+ x_libraries = @x_libraries@
+
+-qfsmdir = $(prefix)/qfsm
++qfsmdir = $(prefix)
+ qfsmbindir = $(qfsmdir)/bin
+ qfsmbin_PROGRAMS = qfsm
+
diff --git a/cad/qfsm/pkg-comment b/cad/qfsm/pkg-comment
new file mode 100644
index 00000000000..be4b34a0cbd
--- /dev/null
+++ b/cad/qfsm/pkg-comment
@@ -0,0 +1 @@
+A graphical tool for designing finite state machines
diff --git a/cad/qfsm/pkg-descr b/cad/qfsm/pkg-descr
new file mode 100644
index 00000000000..318cf839964
--- /dev/null
+++ b/cad/qfsm/pkg-descr
@@ -0,0 +1,21 @@
+Qfsm is a graphical editor for finite state machines written in C++ using Qt.
+
+Finite state machines are a model to describe complex objects or systems in
+terms of the states they may be in. In practice they can used to create
+regular expressions, scanners or other program code.
+
+Current features of Qfsm are:
+ - Creation, editing, loading and saving of binary and ASCII machines
+ - Drawing of states and transitions
+ - Binary and ASCII condition codes
+ - Setting of a start state and end states
+ - Zooming
+ - Cut, copy & paste inside Qfsm
+ - Printing of diagrams
+ - Multiple windows
+ - Integrity check
+ - Interactive simulation
+ - AHDL/VHDL export
+ - State table export (Latex, HTML)
+
+WWW: http://qfsm.sourceforge.net/
diff --git a/cad/qfsm/pkg-plist b/cad/qfsm/pkg-plist
new file mode 100644
index 00000000000..5a376e2e5c3
--- /dev/null
+++ b/cad/qfsm/pkg-plist
@@ -0,0 +1,4 @@
+bin/qfsm
+%%PORTDOCS%%share/examples/qfsm/ascii_example.fsm
+%%PORTDOCS%%share/examples/qfsm/bin_example.fsm
+%%PORTDOCS%%@dirrm share/examples/qfsm