From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 18 17:30:09 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34F161065677 for ; Wed, 18 Feb 2009 17:30:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0F7B88FC17 for ; Wed, 18 Feb 2009 17:30:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1IHU80x013004 for ; Wed, 18 Feb 2009 17:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1IHU8AQ012997; Wed, 18 Feb 2009 17:30:08 GMT (envelope-from gnats) Resent-Date: Wed, 18 Feb 2009 17:30:08 GMT Resent-Message-Id: <200902181730.n1IHU8AQ012997@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D403D106567D for ; Wed, 18 Feb 2009 17:24:29 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa105lp.auone-net.jp (msa105lp.auone-net.jp [222.3.140.168]) by mx1.freebsd.org (Postfix) with ESMTP id 88EAA8FC1C for ; Wed, 18 Feb 2009 17:24:29 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa105lp.auone-net.jp (MSA105lp [172.27.12.183]) by msa105lp.auone-net.jp (au one net msa) with ESMTP id 6347957023E for ; Thu, 19 Feb 2009 02:02:33 +0900 (JST) Received: from localhost.localdomain (ZT037157.ppp.dion.ne.jp [59.128.37.157]) by msa105lp.auone-net.jp (au one net msa) with ESMTP id CF11350031 for ; Thu, 19 Feb 2009 02:02:26 +0900 (JST) Message-Id: <20090219020027.70d22c48.tkato432@yahoo.com> Date: Thu, 19 Feb 2009 02:00:27 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org X-Mailman-Approved-At: Wed, 18 Feb 2009 17:37:29 +0000 Cc: Subject: ports/131840: Update port: cad/qfsm to 0.51.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 17:30:09 -0000 >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 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: