Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2002 16:32:07 +0200 (CEST)
From:      Paul Everlund <tdv94ped@cs.umu.se>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43420: [New port]: (X)Medcon 0.8.0 (X11)
Message-ID:  <200209271432.g8REW7aa036638@everlund.homeip.net>

next in thread | raw e-mail | index | archive | help

>Number:         43420
>Category:       ports
>Synopsis:       [New port]: (X)Medcon 0.8.0 (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:   Fri Sep 27 07:30:04 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:
	First, please close pr Ports/41582 (X)MedCon, as this is an update
	and Ports/41582 never made its way into the ports tree. This is
	the reason to priority medium.

	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:
This is the x11-version...

--- 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/distinfo
#	xmedcon/Makefile
#	xmedcon/pkg-plist
#	xmedcon/pkg-descr
#	xmedcon/pkg-comment
#	xmedcon/files
#	xmedcon/files/patch-aa
#	xmedcon/files/patch-ab
#
echo c - xmedcon
mkdir -p xmedcon > /dev/null 2>&1
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
XLIB_DEPENDS+=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
XLIB_DEPENDS+=	gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
X
XUSE_X_PREFIX=	yes
XUSE_LIBTOOL=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
XCONFIGURE_ARGS=	--with-gtk-config=${GTK_CONFIG}
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
XMAN1=	medcon.1 xmedcon.1 xmedcon-config.1
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 <bsd.port.mk>
END-of-xmedcon/Makefile
echo x - xmedcon/pkg-plist
sed 's/^X//' >xmedcon/pkg-plist << 'END-of-xmedcon/pkg-plist'
Xbin/medcon
Xbin/xmedcon
Xetc/xmedcon-config
Xetc/xmedcon.png
Xetc/xmedconrc
Xetc/xmedconrc.linux
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
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 11:27:44 2002
X@@ -14,10 +14,9 @@
X 
X RC_FILES = \
X  xmedconrc \
X- xmedconrc.linux \
X- xmedconrc.win32
X+ xmedconrc.linux
X 
X-ICONS = xmedcon.ico xmedcon.png
X+ICONS = xmedcon.png
X 
X GTK_DIST = README $(RC_FILES) $(ICONS)
X 
END-of-xmedcon/files/patch-ab
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209271432.g8REW7aa036638>