From owner-freebsd-ports Sat Sep 28 6: 0:21 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D394837B401 for ; Sat, 28 Sep 2002 06:00:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1A2F43E7B for ; Sat, 28 Sep 2002 06:00:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8SD0BCo029628 for ; Sat, 28 Sep 2002 06:00:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8SD0BQ4029627; Sat, 28 Sep 2002 06:00:11 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF1C837B401 for ; Sat, 28 Sep 2002 05:57:40 -0700 (PDT) Received: from everlund.homeip.net (h11n1c1o1023.bredband.skanova.com [213.64.164.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9DB843E4A for ; Sat, 28 Sep 2002 05:57:39 -0700 (PDT) (envelope-from su_paul@everlund.homeip.net) Received: from everlund.homeip.net (localhost [127.0.0.1]) by everlund.homeip.net (8.12.3/8.12.3) with ESMTP id g8SCvVTQ085146 for ; Sat, 28 Sep 2002 14:57:31 +0200 (CEST) (envelope-from su_paul@everlund.homeip.net) Received: (from root@localhost) by everlund.homeip.net (8.12.3/8.12.3/Submit) id g8SCvUob085145; Sat, 28 Sep 2002 14:57:31 +0200 (CEST) (envelope-from su_paul) Message-Id: <200209281257.g8SCvUob085145@everlund.homeip.net> Date: Sat, 28 Sep 2002 14:57:31 +0200 (CEST) From: Paul Everlund Reply-To: Paul Everlund To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/43448: [New port]: (X)Medcon 0.8.0 (X11/without X11) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43448 >Category: ports >Synopsis: [New port]: (X)Medcon 0.8.0 (X11/without X11) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 28 06:00:11 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Paul Everlund >Release: FreeBSD 4.6-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD freebsd.everlund.homeip.net 4.6-RELEASE-p1 FreeBSD 4.6-RELEASE-p1 #0: Tue Jul 9 08:35:10 CEST 2002 su_paul@freebsd.everlund.homeip.net:/usr/src/sys/compile/I686_CPU_KERNEL i386 >Description: This pr superseeds both Ports/43420 and Ports/43421, so please close those pr's. This port handles both the X11 and without X11 case. This project stands for Medical Image Conversion and is released under the GNU's (L)GPL license. It bundles the C sourcecode, a library, a flexible command-line utility and a graphical front-end based on the amazing Gtk+ toolkit. 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 and PNG or animated Gif87a/89a towards desktop applications. WWW: http://xmedcon.sourceforge.net >How-To-Repeat: >Fix: --- xmedcon-pr begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # xmedcon # xmedcon/files # xmedcon/files/patch-aa # xmedcon/files/patch-ab # xmedcon/files/patch-ac # xmedcon/distinfo # xmedcon/Makefile # xmedcon/pkg-plist # xmedcon/pkg-descr # xmedcon/pkg-comment # echo c - xmedcon mkdir -p xmedcon > /dev/null 2>&1 echo c - xmedcon/files mkdir -p xmedcon/files > /dev/null 2>&1 echo x - xmedcon/files/patch-aa sed 's/^X//' >xmedcon/files/patch-aa << 'END-of-xmedcon/files/patch-aa' X--- Makefile.in.orig Fri Sep 27 11:25:07 2002 X+++ Makefile.in Fri Sep 27 11:32:37 2002 X@@ -194,21 +194,21 @@ X X install-binSCRIPTS: $(bin_SCRIPTS) X @$(NORMAL_INSTALL) X- $(mkinstalldirs) $(DESTDIR)$(bindir) X+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir) X @list='$(bin_SCRIPTS)'; for p in $$list; do \ X if test -f $$p; then \ X- echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \ X- $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ X+ echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(sysconfdir)/`echo $$p|sed '$(transform)'`"; \ X+ $(INSTALL_SCRIPT) $$p $(DESTDIR)$(sysconfdir)/`echo $$p|sed '$(transform)'`; \ X else if test -f $(srcdir)/$$p; then \ X- echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \ X- $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ X+ echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/`echo $$p|sed '$(transform)'`"; \ X+ $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/`echo $$p|sed '$(transform)'`; \ X else :; fi; fi; \ X done X X uninstall-binSCRIPTS: X @$(NORMAL_UNINSTALL) X list='$(bin_SCRIPTS)'; for p in $$list; do \ X- rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ X+ rm -f $(DESTDIR)$(sysconfdir)/`echo $$p|sed '$(transform)'`; \ X done X X install-m4dataDATA: $(m4data_DATA) END-of-xmedcon/files/patch-aa echo x - xmedcon/files/patch-ab sed 's/^X//' >xmedcon/files/patch-ab << 'END-of-xmedcon/files/patch-ab' X--- etc/Makefile.am.orig Fri Sep 27 11:27:10 2002 X+++ etc/Makefile.am Fri Sep 27 21:45:22 2002 X@@ -12,12 +12,15 @@ X X AUTOMAKE_OPTIONS = gnu X X+if DO_XSUPPORT X RC_FILES = \ X xmedconrc \ X- xmedconrc.linux \ X- xmedconrc.win32 X- X-ICONS = xmedcon.ico xmedcon.png X+ xmedconrc.linux X+ICONS = xmedcon.png X+else X+RC_FILES= X+ICONS= X+endif X X GTK_DIST = README $(RC_FILES) $(ICONS) X END-of-xmedcon/files/patch-ab echo x - xmedcon/files/patch-ac sed 's/^X//' >xmedcon/files/patch-ac << 'END-of-xmedcon/files/patch-ac' X--- man/Makefile.am.orig Fri Sep 27 21:48:55 2002 X+++ man/Makefile.am Fri Sep 27 22:26:35 2002 X@@ -12,6 +12,7 @@ X X AUTOMAKE_OPTIONS = gnu X X+if DO_XSUPPORT X man_MANS = \ X medcon.1 \ X xmedcon.1 \ X@@ -23,5 +24,17 @@ X m-gif.4 \ X m-intf.4 \ X m-inw.4 X+else X+man_MANS = \ X+ medcon.1 \ X+ xmedcon-config.1 \ X+ medcon.3 \ X+ m-acr.4 \ X+ m-anlz.4 \ X+ m-ecat.4 \ X+ m-gif.4 \ X+ m-intf.4 \ X+ m-inw.4 X+endif X X EXTRA_DIST = $(man_MANS) END-of-xmedcon/files/patch-ac echo x - xmedcon/distinfo sed 's/^X//' >xmedcon/distinfo << 'END-of-xmedcon/distinfo' XMD5 (xmedcon-0.8.0.tar.gz) = 81d6d967fcd7514d56066367642b011f END-of-xmedcon/distinfo echo x - xmedcon/Makefile sed 's/^X//' >xmedcon/Makefile << 'END-of-xmedcon/Makefile' X# New ports collection makefile for: xmedcon X# Date created: 26 September 2002 X# Whom: Paul Everlund X# X# $FreeBSD$ X# X XPORTNAME= xmedcon XPORTVERSION= 0.8.0 XCATEGORIES= graphics XMASTER_SITES= http://belnet.dl.sourceforge.net/sourceforge/xmedcon/ \ X http://umn.dl.sourceforge.net/sourceforge/xmedcon/ \ X http://telia.dl.sourceforge.net/sourceforge/xmedcon/ \ X http://unc.dl.sourceforge.net/sourceforge/xmedcon/ \ X http://twtelecom.dl.sourceforge.net/sourceforge/xmedcon/ \ X http://cesnet.dl.sourceforge.net/sourceforge/xmedcon/ \ X http://switch.dl.sourceforge.net/sourceforge/xmedcon/ X XMAINTAINER?= tdv94ped@cs.umu.se X X.if defined(WITHOUT_X11) X CONFIGURE_ARGS= --disable-gui X.else X LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ X gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf X USE_X_PREFIX= yes X CONFIGURE_ARGS= --with-gtk-config=${GTK_CONFIG} X.endif X X.if defined(NOACR) && defined(NODICOM) X CONFIGURE_ARGS+= --disable-acr X.endif X.if defined(NOGIF) X CONFIGURE_ARGS+= --disable-gif X.endif X.if defined(NOINW) X CONFIGURE_ARGS+= --disable-inw X.endif X.if defined(NOANLZ) X CONFIGURE_ARGS+= --disable-anlz X.endif X.if defined(NOCONC) X CONFIGURE_ARGS+= --disable-conc X.endif X.if defined(NOECAT) X CONFIGURE_ARGS+= --disable-ecat X.endif X.if defined(NOINTF) X CONFIGURE_ARGS+= --disable-intf X.endif X.if defined(NODICOM) X CONFIGURE_ARGS+= --disable-dicom X.endif X.if defined(NOPNG) X CONFIGURE_ARGS+= --disable-png X.else X LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png X.endif X XUSE_LIBTOOL= yes XGNU_CONFIGURE= yes XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LDFLAGS="-L${LOCALBASE}/lib" X XMAN1= medcon.1 xmedcon-config.1 X.if !defined(WITHOUT_X11) X MAN1+= xmedcon.1 X.endif XMAN3= medcon.3 XMAN4= m-acr.4 m-anlz.4 m-ecat.4 m-gif.4 m-intf.4 m-inw.4 X X.include END-of-xmedcon/Makefile echo x - xmedcon/pkg-plist sed 's/^X//' >xmedcon/pkg-plist << 'END-of-xmedcon/pkg-plist' Xbin/medcon X@unexec rm -f %D/bin/xmedcon 2>/dev/null || true Xetc/xmedcon-config X@unexec rm -f %D/etc/xmedcon.png 2>/dev/null || true X@unexec rm -f %D/etc/xmedconrc 2>/dev/null || true X@unexec rm -f %D/etc/xmedconrc.linux 2>/dev/null || true Xinclude/depend.h Xinclude/m-acr.h Xinclude/m-algori.h Xinclude/m-anlz.h Xinclude/m-color.h Xinclude/m-conc.h Xinclude/m-config.h Xinclude/m-debug.h Xinclude/m-defs.h Xinclude/m-dicm.h Xinclude/m-ecat64.h Xinclude/m-error.h Xinclude/m-fancy.h Xinclude/m-files.h Xinclude/m-getopt.h Xinclude/m-gif.h Xinclude/m-global.h Xinclude/m-intf.h Xinclude/m-inw.h Xinclude/m-matrix.h Xinclude/m-pixels.h Xinclude/m-png.h Xinclude/m-qmedian.h Xinclude/m-raw.h Xinclude/m-rslice.h Xinclude/m-sigfpe.h Xinclude/m-split.h Xinclude/m-structs.h Xinclude/m-transf.h Xinclude/m-vifi.h Xinclude/m-xdummy.h Xinclude/m-xtract.h Xinclude/medcon.h Xlib/libmdc.la Xlib/libmdc.so Xlib/libmdc.so.2 Xshare/aclocal/xmedcon.m4 END-of-xmedcon/pkg-plist echo x - xmedcon/pkg-descr sed 's/^X//' >xmedcon/pkg-descr << 'END-of-xmedcon/pkg-descr' XThis project stands for Medical Image Conversion and is released under the XGNU's (L)GPL license. It bundles the C sourcecode, a library, a flexible Xcommand-line utility and a graphical front-end based on the amazing Gtk+ Xtoolkit. X XIts main purpose is image conversion, while preserving the most valuable Xmedical study information. The currently supported formats are: Acr/Nema 2.0, XAnalyze (SPM), Concorde/uPET, DICOM 3.0, Ecat/Matrix 6.4, InterFile 3.3 Xand PNG or animated Gif87a/89a towards desktop applications. X XWWW: http://xmedcon.sourceforge.net END-of-xmedcon/pkg-descr echo x - xmedcon/pkg-comment sed 's/^X//' >xmedcon/pkg-comment << 'END-of-xmedcon/pkg-comment' XA medical image conversion utility and library END-of-xmedcon/pkg-comment exit --- xmedcon-pr ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message