Date: Mon, 7 Apr 2008 01:00:20 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/122495: Update port: cad/qfsm to 0.50 Message-ID: <20080407010020.0911cb50.tkato432@yahoo.com> Resent-Message-ID: <200804061610.m36GA1xC035296@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 122495 >Category: ports >Synopsis: Update port: cad/qfsm to 0.50 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Apr 06 16:10:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 6.3-RELEASE-p1 i386 >Organization: >Environment: >Description: - Update to version 0.50 New file: files/patch-qfsm.pro Remove file: files/patch-src::Convert.cpp files/patch-src::Draw.cpp files/patch-src::GState.cpp files/patch-src::GTransition.cpp files/patch-src::ICheck.cpp files/patch-src::ListBoxItems.cpp files/patch-src::Machine.h files/patch-src::OptGeneralDlgImpl.cpp files/patch-src::State.cpp files/patch-src::Transition.cpp files/patch-src::TransitionInfoBin.cpp files/patch-src::main.cpp >How-To-Repeat: >Fix: diff -urN /usr/ports/cad/qfsm/Makefile cad/qfsm/Makefile --- /usr/ports/cad/qfsm/Makefile 2008-01-03 22:43:18.000000000 +0900 +++ cad/qfsm/Makefile 2008-04-06 00:02:32.000000000 +0900 @@ -7,37 +7,34 @@ # PORTNAME= qfsm -PORTVERSION= 0.46 +PORTVERSION= 0.50 CATEGORIES= cad MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= A graphical tool for designing finite state machines -USE_QT_VER= 3 -USE_PERL5_BUILD=yes -USE_GMAKE= yes -GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --with-qt-dir=${QT_PREFIX} - -QTCPPFLAGS= ${PTHREAD_CFLAGS} -QTCFGLIBS= ${PTHREAD_LIBS} +USE_QT_VER= 4 +QT_COMPONENTS= corelib gui qt3support svg xml \ + moc_build qmake_build uic_build uic3_build +INSTALLS_ICONS= yes post-patch: - @${REINPLACE_CMD} -e '/^SUBDIRS/s| doc/user||g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/qfsm.pro + +do-configure: + @cd ${WRKSRC} \ + && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKE_ARGS} qfsm.pro post-install: + @${STRIP_CMD} ${PREFIX}/bin/qfsm .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/user/*.docbook ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/user/*.html ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/user/*.pdf ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/user/*.png ${DOCSDIR} + @(cd ${WRKSRC}/doc/user && ${COPYTREE_SHARE} . ${DOCSDIR}) .endif .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/*.fsm ${EXAMPLESDIR} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) .endif .include <bsd.port.mk> diff -urN /usr/ports/cad/qfsm/distinfo cad/qfsm/distinfo --- /usr/ports/cad/qfsm/distinfo 2008-01-03 22:43:19.000000000 +0900 +++ cad/qfsm/distinfo 2008-04-05 14:24:47.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (qfsm-0.46.tar.gz) = aab30b51185d458112cc669dbeb879c6 -SHA256 (qfsm-0.46.tar.gz) = 6201cdf0dc1d56e01018677b90b8f544269dbd3e3fd142445d78106c730095f2 -SIZE (qfsm-0.46.tar.gz) = 821488 +MD5 (qfsm-0.50.tar.gz) = 5172f474b8e018ff86fdbb65bf6c7c53 +SHA256 (qfsm-0.50.tar.gz) = 033933d31d237ec0ccbb48fca4022b2f2a1e6c0c9302d7f954cd1bc66c8708ee +SIZE (qfsm-0.50.tar.gz) = 1644095 diff -urN /usr/ports/cad/qfsm/files/patch-qfsm.pro cad/qfsm/files/patch-qfsm.pro --- /usr/ports/cad/qfsm/files/patch-qfsm.pro 1970-01-01 09:00:00.000000000 +0900 +++ cad/qfsm/files/patch-qfsm.pro 2008-04-06 00:02:02.000000000 +0900 @@ -0,0 +1,38 @@ +--- qfsm.pro.bak 2008-04-04 16:40:05.000000000 +0900 ++++ qfsm.pro 2008-04-05 14:03:47.000000000 +0900 +@@ -3,7 +3,7 @@ + + VERSION = 0.50 + +-CONFIG += debug ++#CONFIG += debug + + INCLUDEPATH += . src + +@@ -200,7 +200,7 @@ + # INSTDIR = $${PROGRAMFILES} + INSTDIR = "C:\Qfsm" + } else { +- INSTDIR = /usr ++ INSTDIR = %%PREFIX%% + } + DEPENDPATH += po src + TARGET = qfsm +@@ -212,7 +212,7 @@ + DEFINES += QFSM_HELP_DIR=\\\"doc\\user\\\" + } else { + DEFINES += QFSM_LANGUAGE_DIR=\\\"$${INSTDIR}/share/qfsm\\\" +- DEFINES += QFSM_HELP_DIR=\\\"${INSTDIR}/share/doc/qfsm\\\") ++ DEFINES += QFSM_HELP_DIR=\\\"$${INSTDIR}/share/doc/qfsm\\\" + } + + # XPMS = $$system( find pics -type f -name "*.xpm" | grep -v CVS ) +@@ -359,7 +359,7 @@ + trans.path = $${INSTDIR}/share/qfsm + trans.files = $$QMS + +- INSTALLS += target doc trans desktop mime icons ++ INSTALLS += target trans desktop mime icons + } + + diff -urN /usr/ports/cad/qfsm/files/patch-src::Convert.cpp cad/qfsm/files/patch-src::Convert.cpp --- /usr/ports/cad/qfsm/files/patch-src::Convert.cpp 2004-03-17 01:24:11.000000000 +0900 +++ cad/qfsm/files/patch-src::Convert.cpp 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- src/Convert.cpp.orig Mon Dec 29 05:35:44 2003 -+++ src/Convert.cpp Wed Mar 17 00:06:42 2004 -@@ -16,7 +16,7 @@ - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - --#include <math.h> -+#include <cmath> - #include <qstring.h> - #include <qregexp.h> - #include "Convert.h" diff -urN /usr/ports/cad/qfsm/files/patch-src::Draw.cpp cad/qfsm/files/patch-src::Draw.cpp --- /usr/ports/cad/qfsm/files/patch-src::Draw.cpp 2007-10-06 14:41:41.000000000 +0900 +++ cad/qfsm/files/patch-src::Draw.cpp 1970-01-01 09:00:00.000000000 +0900 @@ -1,13 +0,0 @@ ---- src/Draw.cpp.orig Fri Aug 17 05:07:21 2007 -+++ src/Draw.cpp Wed Oct 3 14:30:19 2007 -@@ -16,8 +16,8 @@ - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - --#include <math.h> --#include <float.h> -+#include <cmath> -+#include <cfloat> - #include <qnamespace.h> - #include <qptrlist.h> - #include <qpainter.h> diff -urN /usr/ports/cad/qfsm/files/patch-src::GState.cpp cad/qfsm/files/patch-src::GState.cpp --- /usr/ports/cad/qfsm/files/patch-src::GState.cpp 2007-10-06 14:41:41.000000000 +0900 +++ cad/qfsm/files/patch-src::GState.cpp 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- src/GState.cpp.orig Fri Aug 17 05:05:36 2007 -+++ src/GState.cpp Wed Oct 3 14:33:54 2007 -@@ -16,7 +16,7 @@ - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - --#include <math.h> -+#include <cmath> - - #include <qpen.h> - #include <qbrush.h> diff -urN /usr/ports/cad/qfsm/files/patch-src::GTransition.cpp cad/qfsm/files/patch-src::GTransition.cpp --- /usr/ports/cad/qfsm/files/patch-src::GTransition.cpp 2004-03-17 01:24:11.000000000 +0900 +++ cad/qfsm/files/patch-src::GTransition.cpp 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- src/GTransition.cpp.orig Mon Dec 29 05:35:44 2003 -+++ src/GTransition.cpp Wed Mar 17 00:08:16 2004 -@@ -16,7 +16,7 @@ - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - --#include <math.h> -+#include <cmath> - - #include "GTransition.h" - #include "GState.h" diff -urN /usr/ports/cad/qfsm/files/patch-src::ICheck.cpp cad/qfsm/files/patch-src::ICheck.cpp --- /usr/ports/cad/qfsm/files/patch-src::ICheck.cpp 2004-03-17 01:24:11.000000000 +0900 +++ cad/qfsm/files/patch-src::ICheck.cpp 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- src/ICheck.cpp.orig Tue Feb 3 02:50:35 2004 -+++ src/ICheck.cpp Wed Mar 17 00:08:59 2004 -@@ -16,7 +16,7 @@ - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - --#include <math.h> -+#include <cmath> - #include <qcursor.h> - #include "ICheck.h" - #include "Machine.h" diff -urN /usr/ports/cad/qfsm/files/patch-src::ListBoxItems.cpp cad/qfsm/files/patch-src::ListBoxItems.cpp --- /usr/ports/cad/qfsm/files/patch-src::ListBoxItems.cpp 2004-03-17 01:24:11.000000000 +0900 +++ cad/qfsm/files/patch-src::ListBoxItems.cpp 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- src/ListBoxItems.cpp.orig Mon Dec 29 05:35:44 2003 -+++ src/ListBoxItems.cpp Wed Mar 17 00:09:39 2004 -@@ -16,7 +16,7 @@ - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - --#include <math.h> -+#include <cmath> - #include <qlistbox.h> - #include <qpen.h> - #include <qpainter.h> diff -urN /usr/ports/cad/qfsm/files/patch-src::Machine.h cad/qfsm/files/patch-src::Machine.h --- /usr/ports/cad/qfsm/files/patch-src::Machine.h 2007-10-06 14:41:41.000000000 +0900 +++ cad/qfsm/files/patch-src::Machine.h 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- src/Machine.h.orig Fri Aug 17 05:06:26 2007 -+++ src/Machine.h Wed Oct 3 14:34:14 2007 -@@ -19,7 +19,7 @@ - #ifndef MACHINE_H - #define MACHINE_H - --#include <math.h> -+#include <cmath> - #include <qptrlist.h> - #include <qobject.h> - #include <qstringlist.h> diff -urN /usr/ports/cad/qfsm/files/patch-src::OptGeneralDlgImpl.cpp cad/qfsm/files/patch-src::OptGeneralDlgImpl.cpp --- /usr/ports/cad/qfsm/files/patch-src::OptGeneralDlgImpl.cpp 2004-03-17 01:24:11.000000000 +0900 +++ cad/qfsm/files/patch-src::OptGeneralDlgImpl.cpp 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- src/OptGeneralDlgImpl.cpp.orig Mon Dec 29 05:35:44 2003 -+++ src/OptGeneralDlgImpl.cpp Tue Mar 16 23:47:47 2004 -@@ -16,7 +16,7 @@ - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - --#include <stdlib.h> -+#include <cstdlib> - #include <qdir.h> - #include <qstringlist.h> - diff -urN /usr/ports/cad/qfsm/files/patch-src::State.cpp cad/qfsm/files/patch-src::State.cpp --- /usr/ports/cad/qfsm/files/patch-src::State.cpp 2004-03-17 01:24:11.000000000 +0900 +++ cad/qfsm/files/patch-src::State.cpp 1970-01-01 09:00:00.000000000 +0900 @@ -1,13 +0,0 @@ ---- src/State.cpp.orig Sat Mar 6 22:22:17 2004 -+++ src/State.cpp Wed Mar 17 00:10:25 2004 -@@ -16,8 +16,8 @@ - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - --#include <math.h> --#include <string.h> -+#include <cmath> -+#include <cstring> - - #include "State.h" - #include "Transition.h" diff -urN /usr/ports/cad/qfsm/files/patch-src::Transition.cpp cad/qfsm/files/patch-src::Transition.cpp --- /usr/ports/cad/qfsm/files/patch-src::Transition.cpp 2004-03-17 01:24:11.000000000 +0900 +++ cad/qfsm/files/patch-src::Transition.cpp 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- src/Transition.cpp.orig Tue Feb 3 01:36:43 2004 -+++ src/Transition.cpp Tue Mar 16 23:48:26 2004 -@@ -16,7 +16,7 @@ - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - --#include <stdlib.h> -+#include <cstdlib> - //#include <typeinfo> - - #include "Transition.h" diff -urN /usr/ports/cad/qfsm/files/patch-src::TransitionInfoBin.cpp cad/qfsm/files/patch-src::TransitionInfoBin.cpp --- /usr/ports/cad/qfsm/files/patch-src::TransitionInfoBin.cpp 2004-03-17 01:24:11.000000000 +0900 +++ cad/qfsm/files/patch-src::TransitionInfoBin.cpp 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- src/TransitionInfoBin.cpp.orig Mon Dec 29 05:35:44 2003 -+++ src/TransitionInfoBin.cpp Tue Mar 16 23:49:09 2004 -@@ -16,7 +16,7 @@ - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - --#include <stdlib.h> -+#include <cstdlib> - #include <typeinfo> - #include "IOInfoBin.h" - #include "IOInfoASCII.h" diff -urN /usr/ports/cad/qfsm/files/patch-src::main.cpp cad/qfsm/files/patch-src::main.cpp --- /usr/ports/cad/qfsm/files/patch-src::main.cpp 2005-01-22 04:24:17.000000000 +0900 +++ cad/qfsm/files/patch-src::main.cpp 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- src/main.cpp.orig Mon Jan 17 06:23:41 2005 -+++ src/main.cpp Wed Jan 19 21:39:30 2005 -@@ -16,7 +16,7 @@ - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - --#include <stdlib.h> -+#include <cstdlib> - #include <iostream> - #include <qtranslator.h> - #include <qapplication.h> diff -urN /usr/ports/cad/qfsm/pkg-plist cad/qfsm/pkg-plist --- /usr/ports/cad/qfsm/pkg-plist 2008-01-03 22:43:19.000000000 +0900 +++ cad/qfsm/pkg-plist 2008-04-06 00:08:46.000000000 +0900 @@ -1,9 +1,12 @@ bin/qfsm share/applications/qfsm.desktop +%%PORTDOCS%%%%DOCSDIR%%/.qfsm.docbook.swo +%%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/addstate.png %%PORTDOCS%%%%DOCSDIR%%/addtrans.png %%PORTDOCS%%%%DOCSDIR%%/copy.png %%PORTDOCS%%%%DOCSDIR%%/cut.png +%%PORTDOCS%%%%DOCSDIR%%/doc_Makefile %%PORTDOCS%%%%DOCSDIR%%/integrity_check.png %%PORTDOCS%%%%DOCSDIR%%/machine_properties.png %%PORTDOCS%%%%DOCSDIR%%/new.png @@ -12,8 +15,10 @@ %%PORTDOCS%%%%DOCSDIR%%/paste.png %%PORTDOCS%%%%DOCSDIR%%/print.png %%PORTDOCS%%%%DOCSDIR%%/qfsm.docbook +%%PORTDOCS%%%%DOCSDIR%%/qfsm.fo %%PORTDOCS%%%%DOCSDIR%%/qfsm.html %%PORTDOCS%%%%DOCSDIR%%/qfsm.pdf +%%PORTDOCS%%%%DOCSDIR%%/qfsm.rtf %%PORTDOCS%%%%DOCSDIR%%/save.png %%PORTDOCS%%%%DOCSDIR%%/select.png %%PORTDOCS%%%%DOCSDIR%%/simulate.png @@ -21,15 +26,22 @@ %%PORTDOCS%%%%DOCSDIR%%/state_properties.png %%PORTDOCS%%%%DOCSDIR%%/straighten.png %%PORTDOCS%%%%DOCSDIR%%/toolbar.png +%%PORTDOCS%%%%DOCSDIR%%/toolbar2.png +%%PORTDOCS%%%%DOCSDIR%%/toolbar3.png %%PORTDOCS%%%%DOCSDIR%%/transition_properties.png %%PORTDOCS%%%%DOCSDIR%%/undo.png +%%PORTDOCS%%%%DOCSDIR%%/working_area.png +%%PORTDOCS%%%%DOCSDIR%%/working_area.xcf %%PORTDOCS%%%%DOCSDIR%%/working_area2.png %%PORTDOCS%%%%DOCSDIR%%/zoom.png %%PORTDOCS%%%%DOCSDIR%%/zoomin.png %%PORTDOCS%%%%DOCSDIR%%/zoomout.png %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ascii_example.fsm -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ascii_example2.fsm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/bin_example.fsm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/datum.fsm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/float.fsm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/integer.fsm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/text_example.fsm share/icons/hicolor/32x32/apps/qfsm.png share/icons/hicolor/32x32/mimetypes/x-qfsm.png share/icons/hicolor/48x48/apps/qfsm.png @@ -41,19 +53,19 @@ %%DATADIR%%/French.qm %%DATADIR%%/German.qm @dirrm %%DATADIR%% -@dirrm share/mimelnk/application -@dirrm share/mimelnk -@dirrm share/icons/hicolor/64x64/mimetypes -@dirrm share/icons/hicolor/64x64/apps -@dirrm share/icons/hicolor/64x64 -@dirrm share/icons/hicolor/48x48/mimetypes -@dirrm share/icons/hicolor/48x48/apps -@dirrm share/icons/hicolor/48x48 -@dirrm share/icons/hicolor/32x32/mimetypes -@dirrm share/icons/hicolor/32x32/apps -@dirrm share/icons/hicolor/32x32 -@dirrm share/icons/hicolor -@dirrm share/icons +@dirrmtry share/mimelnk/application +@dirrmtry share/mimelnk +@dirrmtry share/icons/hicolor/64x64/mimetypes +@dirrmtry share/icons/hicolor/64x64/apps +@dirrmtry share/icons/hicolor/64x64 +@dirrmtry share/icons/hicolor/48x48/mimetypes +@dirrmtry share/icons/hicolor/48x48/apps +@dirrmtry share/icons/hicolor/48x48 +@dirrmtry share/icons/hicolor/32x32/mimetypes +@dirrmtry share/icons/hicolor/32x32/apps +@dirrmtry share/icons/hicolor/32x32 +@dirrmtry share/icons/hicolor +@dirrmtry share/icons %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrmtry share/applications >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080407010020.0911cb50.tkato432>