From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 30 18:10:02 2007 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 A4F4E16A475 for ; Sun, 30 Dec 2007 18:10:02 +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 87A0C13C478 for ; Sun, 30 Dec 2007 18:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBUIA2CX070091 for ; Sun, 30 Dec 2007 18:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBUIA20t070090; Sun, 30 Dec 2007 18:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 30 Dec 2007 18:10:02 GMT Resent-Message-Id: <200712301810.lBUIA20t070090@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 8455916A417 for ; Sun, 30 Dec 2007 18:01:02 +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 36F0A13C4CE for ; Sun, 30 Dec 2007 18:01:02 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from localhost.localdomain (ZT061165.ppp.dion.ne.jp [59.128.61.165]) by msa105lp.auone-net.jp (au one net msa) with ESMTP id 920BF50031 for ; Mon, 31 Dec 2007 03:00:55 +0900 (JST) Message-Id: <20071231030018.1f6b3a71.tkato432@yahoo.com> Date: Mon, 31 Dec 2007 03:00:18 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/119164: Update port: graphics/xmedcon to 0.10.2 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: Sun, 30 Dec 2007 18:10:02 -0000 >Number: 119164 >Category: ports >Synopsis: Update port: graphics/xmedcon to 0.10.2 >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 Dec 30 18:10:02 UTC 2007 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 6.2-RELEASE-p8 i386 >Organization: >Environment: >Description: - Update to version 0.10.2 Remove file: files/patch-etc::Makefile.in files/patch-man::Makefile.in files/patch-source::Makefile.in >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/xmedcon/Makefile graphics/xmedcon/Makefile --- /usr/ports/graphics/xmedcon/Makefile Sun Oct 28 14:09:56 2007 +++ graphics/xmedcon/Makefile Thu Dec 13 03:50:34 2007 @@ -6,7 +6,7 @@ # PORTNAME= xmedcon -PORTVERSION= 0.9.10 +PORTVERSION= 0.10.2 CATEGORIES= graphics MASTER_SITES= SF @@ -46,13 +46,15 @@ CONFIGURE_ARGS+= --disable-gui PLIST_SUB+= X11="@comment " .else -USE_GNOME+= gtk12 gdkpixbuf +USE_GNOME+= gtk20 PLIST_SUB+= X11="" MAN1+= xmedcon.1 .endif .if defined(WITHOUT_GLIB) CONFIGURE_ARGS+= --disable-glib +.else +USE_GNOME+= glib20 .endif .if defined(WITHOUT_ACR_NEMA) || defined(WITHOUT_DICOM) @@ -95,6 +97,22 @@ CONFIGURE_ARGS+= --disable-png .else LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png +.endif + +post-patch: + @${REINPLACE_CMD} -e '/^SUBDIRS/s|etc||g' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e '/^configheadersdir/s|=.*$$|= $$(includedir)|g' \ + ${WRKSRC}/source/Makefile.in + @${REINPLACE_CMD} -e '/xmedcon.1/d' \ + ${WRKSRC}/man/Makefile.in + +post-install: +.if !defined(WITHOUT_X11) +.for file in xmedcon.png xmedconrc xmedconrc.linux + ${INSTALL_DATA} ${WRKSRC}/etc/${file} ${PREFIX}/etc +.endfor + ${INSTALL_MAN} ${WRKSRC}/man/xmedcon.1 ${MANPREFIX}/man/man1 .endif .include diff -urN /usr/ports/graphics/xmedcon/distinfo graphics/xmedcon/distinfo --- /usr/ports/graphics/xmedcon/distinfo Sun Oct 28 14:09:56 2007 +++ graphics/xmedcon/distinfo Fri Dec 7 03:00:10 2007 @@ -1,3 +1,3 @@ -MD5 (xmedcon-0.9.10.tar.gz) = 38c255b1c4859ce410d46d50c2bf30cb -SHA256 (xmedcon-0.9.10.tar.gz) = b9915cba6234e28f0eb4091a18a8c2ab10b402c10b6abf7ff6b80ab8a089b1ba -SIZE (xmedcon-0.9.10.tar.gz) = 949888 +MD5 (xmedcon-0.10.2.tar.gz) = acfaa90f6e3e3d5f050329fa84dfe301 +SHA256 (xmedcon-0.10.2.tar.gz) = fabf905a37b28defecc6370c5ebcc5ca1c10278ad74f3fe38d07ba9d3490c397 +SIZE (xmedcon-0.10.2.tar.gz) = 966074 diff -urN /usr/ports/graphics/xmedcon/files/patch-etc::Makefile.in graphics/xmedcon/files/patch-etc::Makefile.in --- /usr/ports/graphics/xmedcon/files/patch-etc::Makefile.in Fri Feb 18 22:08:00 2005 +++ graphics/xmedcon/files/patch-etc::Makefile.in Thu Jan 1 09:00:00 1970 @@ -1,18 +0,0 @@ ---- etc/Makefile.in.orig Thu Feb 17 20:36:39 2005 -+++ etc/Makefile.in Thu Feb 17 20:38:47 2005 -@@ -244,12 +244,11 @@ - AUTOMAKE_OPTIONS = gnu - RC_FILES = \ - xmedconrc \ -- xmedconrc.linux \ -- xmedconrc.win32 -+ xmedconrc.linux - --ICONS = xmedcon.ico xmedcon.png -+ICONS = xmedcon.png - GTK_DIST = README $(RC_FILES) $(ICONS) --sysconf_DATA = $(RC_FILES) $(ICONS) -+@DO_XSUPPORT_TRUE@sysconf_DATA = $(RC_FILES) $(ICONS) - EXTRA_DIST = \ - $(GTK_DIST) \ - xmedcon.spec diff -urN /usr/ports/graphics/xmedcon/files/patch-man::Makefile.in graphics/xmedcon/files/patch-man::Makefile.in --- /usr/ports/graphics/xmedcon/files/patch-man::Makefile.in Fri Apr 2 12:32:16 2004 +++ graphics/xmedcon/files/patch-man::Makefile.in Thu Jan 1 09:00:00 1970 @@ -1,22 +0,0 @@ ---- man/Makefile.in.orig Tue Mar 30 16:12:24 2004 -+++ man/Makefile.in Tue Mar 30 16:13:53 2004 -@@ -232,17 +232,8 @@ - sysconfdir = @sysconfdir@ - target_alias = @target_alias@ - AUTOMAKE_OPTIONS = gnu --man_MANS = \ -- medcon.1 \ -- xmedcon.1 \ -- xmedcon-config.1 \ -- medcon.3 \ -- m-acr.4 \ -- m-anlz.4 \ -- m-ecat.4 \ -- m-gif.4 \ -- m-intf.4 \ -- m-inw.4 -+@DO_XSUPPORT_TRUE@man_MANS = medcon.1 xmedcon.1 xmedcon-config.1 medcon.3 m-acr.4 m-anlz.4 m-ecat.4 m-gif.4 m-intf.4 m-inw.4 -+@DO_XSUPPORT_FALSE@man_MANS = medcon.1 xmedcon-config.1 medcon.3 m-acr.4 m-anlz.4 m-ecat.4 m-gif.4 m-intf.4 m-inw.4 - - EXTRA_DIST = $(man_MANS) - all: all-am diff -urN /usr/ports/graphics/xmedcon/files/patch-source::Makefile.in graphics/xmedcon/files/patch-source::Makefile.in --- /usr/ports/graphics/xmedcon/files/patch-source::Makefile.in Fri Feb 27 18:59:24 2004 +++ graphics/xmedcon/files/patch-source::Makefile.in Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- source/Makefile.in.orig Sat Jan 24 18:00:21 2004 -+++ source/Makefile.in Sat Jan 24 18:01:00 2004 -@@ -412,7 +412,7 @@ - m-png.h - - --configheadersdir = $(prefix)/include -+configheadersdir = $(prefix)/include/xmedcon - configheaders_DATA = m-depend.h m-config.h - - INCLUDES = $(DICM_INC) $(PNG_INC) $(GDK_PIXBUF_CFLAGS) $(GLIB_CFLAGS) diff -urN /usr/ports/graphics/xmedcon/pkg-descr graphics/xmedcon/pkg-descr --- /usr/ports/graphics/xmedcon/pkg-descr Mon Oct 14 20:40:18 2002 +++ graphics/xmedcon/pkg-descr Thu Dec 13 04:10:53 2007 @@ -5,7 +5,7 @@ Its main purpose is image conversion, while preserving the most valuable medical study information. The currently supported formats are: Acr/Nema 2.0, -Analyze (SPM), Concorde/uPET, DICOM 3.0, Ecat/Matrix 6.4, InterFile 3.3 +Analyze (SPM), Concorde/uPET, DICOM 3.0, CTI ECAT 6/7, NIfTI-1, InterFile 3.3 and PNG or animated Gif87a/89a towards desktop applications. WWW: http://xmedcon.sourceforge.net/ >Release-Note: >Audit-Trail: >Unformatted: