ports/119164: Update port: graphics/xmedcon to 0.10.2
KATO Tsuguru
tkato432 at yahoo.com
Sun Dec 30 18:10:02 UTC 2007
>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 <bsd.port.post.mk>
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)
-+ at 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
-+ at 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
-+ at 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:
More information about the freebsd-ports-bugs
mailing list