Date: Thu, 19 Feb 2009 02:00:27 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/131840: Update port: cad/qfsm to 0.51.0 Message-ID: <20090219020027.70d22c48.tkato432@yahoo.com> Resent-Message-ID: <200902181730.n1IHU8AQ012997@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 131840 >Category: ports >Synopsis: Update port: cad/qfsm to 0.51.0 >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: Wed Feb 18 17:30:08 UTC 2009 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.1-RELEASE-p1 i386 >Organization: >Environment: >Description: - Update to version 0.51.0 Remove file: files/patch-qfsm.pro >How-To-Repeat: >Fix: diff -urN /usr/ports/cad/qfsm/Makefile cad/qfsm/Makefile --- /usr/ports/cad/qfsm/Makefile 2008-06-07 00:19:07.000000000 +0900 +++ cad/qfsm/Makefile 2009-01-14 21:30:40.000000000 +0900 @@ -7,29 +7,50 @@ # PORTNAME= qfsm -PORTVERSION= 0.50 -PORTREVISION= 1 +PORTVERSION= 0.51.0 CATEGORIES= cad MASTER_SITES= SF +DISTNAME= ${PORTNAME}-${PORTVERSION}-Source MAINTAINER= ports@FreeBSD.org COMMENT= A graphical tool for designing finite state machines +USE_XORG= xi USE_QT_VER= 4 QT_COMPONENTS= corelib gui qt3support svg xml \ moc_build porting_build qmake_build uic_build uic3_build +USE_GNOME= desktopfileutils +USE_CMAKE= yes INSTALLS_ICONS= yes -USE_XORG= xi - -post-patch: - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/qfsm.pro -do-configure: - @cd ${WRKSRC} \ - && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKE_ARGS} qfsm.pro +.if !defined(WITH_DEBUG) +CMAKE_ARGS+= -DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" +.endif -post-install: - @${STRIP_CMD} ${PREFIX}/bin/qfsm +post-patch: + @${REINPLACE_CMD} -e 's|(/usr/include/.*$$|(|g ; \ + /^\/usr\/include/d ; \ + /SET.*CMAKE_BUILD_TYPE/d ; \ + /SET.*CMAKE_INSTALL_PREFIX/d' ${WRKSRC}/CMakeLists.txt + +do-install: + (cd ${WRKSRC} && ${INSTALL_PROGRAM} qfsm ${PREFIX}/bin) + @${MKDIR} ${PREFIX}/share/applications + (cd ${WRKSRC}/desktop && ${INSTALL_DATA} qfsm.desktop \ + ${PREFIX}/share/applications) +.for i in 32x32 48x48 64x64 + @${MKDIR} ${PREFIX}/share/icons/hicolor/${i}/apps + (cd ${WRKSRC}/desktop/${i}/apps && ${INSTALL_DATA} qfsm.png \ + ${PREFIX}/share/icons/hicolor/${i}/apps) + @${MKDIR} ${PREFIX}/share/icons/hicolor/${i}/mimetypes + (cd ${WRKSRC}/desktop/${i}/mimetypes && ${INSTALL_DATA} x-qfsm.png \ + ${PREFIX}/share/icons/hicolor/${i}/mimetypes) +.endfor + @${MKDIR} ${PREFIX}/share/mimelnk/application + (cd ${WRKSRC}/desktop && ${INSTALL_DATA} x-qfsm.desktop \ + ${PREFIX}/share/mimelnk/application) + @${MKDIR} ${DATADIR} + (cd ${WRKSRC}/po && ${INSTALL_DATA} *.qm ${DATADIR}) .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @(cd ${WRKSRC}/doc/user && ${COPYTREE_SHARE} . ${DOCSDIR}) @@ -38,5 +59,6 @@ @${MKDIR} ${EXAMPLESDIR} @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) .endif + @-update-desktop-database .include <bsd.port.mk> diff -urN /usr/ports/cad/qfsm/distinfo cad/qfsm/distinfo --- /usr/ports/cad/qfsm/distinfo 2008-04-27 21:08:56.000000000 +0900 +++ cad/qfsm/distinfo 2009-01-14 21:30:45.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (qfsm-0.50.tar.gz) = 5172f474b8e018ff86fdbb65bf6c7c53 -SHA256 (qfsm-0.50.tar.gz) = 033933d31d237ec0ccbb48fca4022b2f2a1e6c0c9302d7f954cd1bc66c8708ee -SIZE (qfsm-0.50.tar.gz) = 1644095 +MD5 (qfsm-0.51.0-Source.tar.gz) = 7f057779d6455831d747eca37a113528 +SHA256 (qfsm-0.51.0-Source.tar.gz) = 8512b84b70f82fcdc6394d3c84cde545e80f17075faefdafa36b06b0e38397a8 +SIZE (qfsm-0.51.0-Source.tar.gz) = 1680312 diff -urN /usr/ports/cad/qfsm/files/patch-qfsm.pro cad/qfsm/files/patch-qfsm.pro --- /usr/ports/cad/qfsm/files/patch-qfsm.pro 2008-04-30 15:56:22.000000000 +0900 +++ cad/qfsm/files/patch-qfsm.pro 1970-01-01 09:00:00.000000000 +0900 @@ -1,38 +0,0 @@ ---- 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 - } - - >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090219020027.70d22c48.tkato432>