From bacon@smithers.neuro.mcw.edu  Tue Jan 17 20:06:53 2006
Return-Path: <bacon@smithers.neuro.mcw.edu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 69C8D16A420
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Jan 2006 20:06:53 +0000 (GMT)
	(envelope-from bacon@smithers.neuro.mcw.edu)
Received: from smithers.neuro.mcw.edu (smithers.neuro.mcw.edu [141.106.204.28])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4944D43D49
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Jan 2006 20:06:42 +0000 (GMT)
	(envelope-from bacon@smithers.neuro.mcw.edu)
Received: from smithers.neuro.mcw.edu (localhost [127.0.0.1])
	by smithers.neuro.mcw.edu (8.13.3/8.13.3) with ESMTP id k0HK6g6s092729
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Jan 2006 14:06:42 -0600 (CST)
	(envelope-from bacon@smithers.neuro.mcw.edu)
Received: (from bacon@localhost)
	by smithers.neuro.mcw.edu (8.13.3/8.13.3/Submit) id k0HK6f5O092728;
	Tue, 17 Jan 2006 14:06:41 -0600 (CST)
	(envelope-from bacon)
Message-Id: <200601172006.k0HK6f5O092728@smithers.neuro.mcw.edu>
Date: Tue, 17 Jan 2006 14:06:41 -0600 (CST)
From: Jason Bacon <bacon@smithers.neuro.mcw.edu>
Reply-To: Jason Bacon <bacon@smithers.neuro.mcw.edu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port for MINC (Medical Imaging NetCDF)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         91918
>Category:       ports
>Synopsis:       New port for MINC (Medical Imaging NetCDF)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    thierry
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 17 20:10:04 GMT 2006
>Closed-Date:    Sun Feb 12 15:32:26 GMT 2006
>Last-Modified:  Sun Feb 12 15:32:26 GMT 2006
>Originator:     Jason Bacon
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
Medical College of Wisconsin
>Environment:
System: FreeBSD smithers.neuro.mcw.edu 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Wed Aug 24 14:54:53 CDT 2005 bacon@clone.neuro.mcw.edu:/usr/obj/usr/src/sys/clone i386


>Description:
New port for MINC 1.4 (Medical Imaging NetCDF) library and tools.

# 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:
#
#	minc
#	minc/Makefile
#	minc/pkg-descr
#	minc/distinfo
#	minc/pkg-message
#	minc/pkg-plist
#
echo c - minc
mkdir -p minc > /dev/null 2>&1
echo x - minc/Makefile
sed 's/^X//' >minc/Makefile << 'END-of-minc/Makefile'
X############################################################################
X# New ports collection Makefile for:   minc 1.x (Medical Imaging NetCDF)
X# Date created:        21 Dec 2005
X# Whom:                jbacon
X#
X# $FreeBSD$
X#
X
X############################################################################
X# http://www.bic.mni.mcgill.ca/software/minc/
X# is the ultimate source for MINC, and will always contain the latest
X# source release.  If this port is not up to date enough for you,
X# you can download the latest sources and build manually.  On FreeBSD,
X# you must configure with the environment variable LDFLAGS set to
X# ${LOCALBASE}/lib so that the configure script will find libnetcdf.
X# Of course, the netcdf port must be installed first.
X
XPORTNAME=	minc
XPORTVERSION=	1.4
XCATEGORIES=	science biology
XMASTER_SITES=	http://www.bic.mni.mcgill.ca/software/distribution/packages/ \
X		http://www.neuro.mcw.edu/~bacon/Ports/distfiles/
X
XMAINTAINER=	bacon@smithers.neuro.mcw.edu
XCOMMENT=	Medical Imaging NetCDF
X
XLIB_DEPENDS=	netcdf.1:${PORTSDIR}/math/netcdf
X
XUSE_LIBTOOL_VER=	13
X
XCONFLICTS=	minc-[2-9]*
X
X# Build parameters
XWRKSRC=		${WRKDIR}/minc-${PORTVERSION}
X
X# Install in the same location as the netcdf port to make life simple.
X# Programs that link with MINC will need netcdf as well.
XPREFIX=		${LOCALBASE}
X
X# Install parameters
XMAN1=	voxeltoworld.1 \
X	minc_modify_header.1 \
X	mincaverage.1 \
X	minccalc.1 \
X	mincconcat.1 \
X	minccopy.1 \
X	mincdiff.1 \
X	mincedit.1 \
X	mincexpand.1 \
X	mincextract.1 \
X	mincheader.1 \
X	mincinfo.1 \
X	minclookup.1 \
X	mincmakescalar.1 \
X	mincmakevector.1 \
X	mincmath.1 \
X	mincpik.1 \
X	mincresample.1 \
X	mincreshape.1 \
X	mincstats.1 \
X	minctoraw.1 \
X	invert_raw_image.1 \
X	mincview.1 \
X	mincwindow.1 \
X	rawtominc.1 \
X	transformtags.1 \
X	xfmconcat.1 \
X	xfminvert.1 \
X	ecattominc.1 \
X	minctoecat.1 \
X	nii2mnc.1 \
X	mnc2nii.1 \
X	upet2mnc.1 \
X	dcm2mnc.1
XMAN3=	ParseArgv.3
XMANCOMPRESSED=	no
X
XHAS_CONFIGURE=	yes
XCONFIGURE_ENV=	CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
X
Xpost-install:
X	${CAT} pkg-message
X
X.include <bsd.port.mk>
END-of-minc/Makefile
echo x - minc/pkg-descr
sed 's/^X//' >minc/pkg-descr << 'END-of-minc/pkg-descr'
XMINC (Medical Imaging NetCDF) is a medical imaging data format and an 
Xassociated set of tools and libraries. MINC was created in 1993 by Peter 
XNeelin at the McConnell Brain Imaging Centre of the Montreal Neurological 
XInstitute. Many others have contributed to the design and implementation 
XMINC over the years.
X
XWWW: http://www.bic.mni.mcgill.ca/software/minc/
X
XPort maintainer: Jason W. Bacon
X		 bacon@smithers.neuro.mcw.edu
END-of-minc/pkg-descr
echo x - minc/distinfo
sed 's/^X//' >minc/distinfo << 'END-of-minc/distinfo'
XMD5 (minc-1.4.tar.gz) = 873a6deed8109f95d29a197bad9f6070
XSHA256 (minc-1.4.tar.gz) = a07c9523f232c823f38275bc8bb23011e70a29a0a45071dad0dec81317a75c4f
XSIZE (minc-1.4.tar.gz) = 1213768
END-of-minc/distinfo
echo x - minc/pkg-message
sed 's/^X//' >minc/pkg-message << 'END-of-minc/pkg-message'
X=============================================================================
XFor questions or comments regarding this port, please contact the
Xport maintainer: bacon@smithers.neuro.mcw.edu
X
XFor MINC usage, please visit the MINC WEB site at
X
Xhttp://www.bic.mni.mcgill.ca/software/minc/
X=============================================================================
END-of-minc/pkg-message
echo x - minc/pkg-plist
sed 's/^X//' >minc/pkg-plist << 'END-of-minc/pkg-plist'
X./lib/libminc.so.1
X./lib/libminc.la
X./lib/libminc.a
X./lib/libvolume_io.so.0
X./lib/libvolume_io.la
X./lib/libvolume_io.a
X./bin/voxeltoworld
X./bin/worldtovoxel
X./bin/minc_modify_header
X./bin/mincaverage
X./bin/minccalc
X./bin/mincconcat
X./bin/minccopy
X./bin/mincexpand
X./bin/mincextract
X./bin/mincinfo
X./bin/minclookup
X./bin/mincmakescalar
X./bin/mincmakevector
X./bin/mincmath
X./bin/mincresample
X./bin/mincreshape
X./bin/mincstats
X./bin/minctoraw
X./bin/invert_raw_image
X./bin/mincwindow
X./bin/rawtominc
X./bin/transformtags
X./bin/xfmconcat
X./bin/xfminvert
X./bin/ecattominc
X./bin/minctoecat
X./bin/mnc2nii
X./bin/nii2mnc
X./bin/upet2mnc
X./bin/dcm2mnc
X./bin/mincdiff
X./bin/mincedit
X./bin/mincheader
X./bin/minchistory
X./bin/mincpik
X./bin/mincview
X./include/minc.h
X./include/ParseArgv.h
X./include/voxel_loop.h
X./include/nd_loop.h
X./include/time_stamp.h
X./include/volume_io.h
X./include/minc_simple.h
X./include/volume_io/alloc.h
X./include/volume_io/arrays.h
X./include/volume_io/basic.h
X./include/volume_io/def_math.h
X./include/volume_io/files.h
X./include/volume_io/geom_structs.h
X./include/volume_io/geometry.h
X./include/volume_io/internal_volume_io.h
X./include/volume_io/multidim.h
X./include/volume_io/progress.h
X./include/volume_io/string_funcs.h
X./include/volume_io/system_dependent.h
X./include/volume_io/transforms.h
X./include/volume_io/vol_io_prototypes.h
X./include/volume_io/volume.h
X./include/volume_io/volume_cache.h
END-of-minc/pkg-plist
exit

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:

From: Jason Bacon <bacon@smithers.neuro.mcw.edu>
To: bug-followup@FreeBSD.org, bacon@smithers.neuro.mcw.edu
Cc:  
Subject: Re: ports/91918: New port for MINC (Medical Imaging NetCDF)
Date: Tue, 24 Jan 2006 12:57:10 -0600

 --Boundary-00=_Hin1DsRaXJBNb1i
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 
 I discovered a couple of items were missing from pkg-plist in my original pr.  
 I made a few improvements to the Makefile as well.  Since no one has 
 responded to this yet, I'm assuming that it hasn't been worked on at this 
 point, so I'm sending a new shar file.  If someone has already been working 
 on this, and it would be easier to work with diffs from the original, just 
 let me know.
 
 Thanks,
 
 	Jason
 
 -- 
 Jason W. Bacon
 Systems Manager, fMRI Research Labs
 Medical College of Wisconsin
 8701 Watertown Plank Rd
 Room MFRC 4037
 Milwaukee, WI 53226
 (414) 456-5881
 (414) 456-6562 FAX
 
 --Boundary-00=_Hin1DsRaXJBNb1i
 Content-Type: text/plain;
   charset="us-ascii";
   name="minc.shar"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="minc.shar"
 
 # 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:
 #
 #	minc
 #	minc/Makefile
 #	minc/pkg-descr
 #	minc/distinfo
 #	minc/pkg-message
 #	minc/pkg-plist
 #
 echo c - minc
 mkdir -p minc > /dev/null 2>&1
 echo x - minc/Makefile
 sed 's/^X//' >minc/Makefile << 'END-of-minc/Makefile'
 X############################################################################
 X# New ports collection Makefile for:   minc 1.x (Medical Imaging NetCDF)
 X# Date created:        21 Dec 2005
 X# Whom:                jbacon
 X#
 X# $FreeBSD$
 X#
 X
 X############################################################################
 X# http://www.bic.mni.mcgill.ca/software/minc/
 X# is the ultimate source for MINC, and will always contain the latest
 X# source release.  If this port is not up to date enough for you,
 X# you can download the latest sources and build manually.  On FreeBSD,
 X# you must configure with the environment variable LDFLAGS set to
 X# ${LOCALBASE}/lib so that the configure script will find libnetcdf.
 X# Of course, the netcdf port must be installed first.
 X
 XPORTNAME=	minc
 XPORTVERSION=	1.4
 XCATEGORIES=	science biology
 XMASTER_SITES=	http://www.bic.mni.mcgill.ca/software/distribution/packages/ \
 X		http://www.neuro.mcw.edu/~bacon/Ports/distfiles/
 X
 XMAINTAINER=	bacon@smithers.neuro.mcw.edu
 XCOMMENT=	Medical Imaging NetCDF
 X
 XLIB_DEPENDS=	netcdf.1:${PORTSDIR}/math/netcdf
 X
 XINSTALLS_SHLIB=	yes
 X
 XUSE_LIBTOOL_VER=	15
 X
 XCONFLICTS=	minc-[2-9]*
 X
 X# Build parameters
 XWRKSRC=		${WRKDIR}/minc-${PORTVERSION}
 X
 XMAN1=	dcm2mnc.1 \
 X	ecattominc.1 \
 X	invert_raw_image.1 \
 X	minc_modify_header.1 \
 X	mincaverage.1 \
 X	minccalc.1 \
 X	mincconcat.1 \
 X	minccopy.1 \
 X	mincdiff.1 \
 X	mincedit.1 \
 X	mincexpand.1 \
 X	mincextract.1 \
 X	mincheader.1 \
 X	mincinfo.1 \
 X	minclookup.1 \
 X	mincmakescalar.1 \
 X	mincmakevector.1 \
 X	mincmath.1 \
 X	mincpik.1 \
 X	mincresample.1 \
 X	mincreshape.1 \
 X	mincstats.1 \
 X	minctoecat.1 \
 X	minctoraw.1 \
 X	mincview.1 \
 X	mincwindow.1 \
 X	mnc2nii.1 \
 X	nii2mnc.1 \
 X	rawtominc.1 \
 X	transformtags.1 \
 X	upet2mnc.1 \
 X	voxeltoworld.1 \
 X	xfmconcat.1 \
 X	xfminvert.1
 XMAN3=	ParseArgv.3
 X
 XHAS_CONFIGURE=	yes
 XCONFIGURE_ENV=	CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
 XCONFIGURE_ARGS=	--enable-shared=yes --enable-static=yes
 X
 Xpost-install:
 X	${CAT} pkg-message
 X
 X.include <bsd.port.mk>
 END-of-minc/Makefile
 echo x - minc/pkg-descr
 sed 's/^X//' >minc/pkg-descr << 'END-of-minc/pkg-descr'
 XMINC (Medical Imaging NetCDF) is a medical imaging data format and an 
 Xassociated set of tools and libraries. MINC was created in 1993 by Peter 
 XNeelin at the McConnell Brain Imaging Centre of the Montreal Neurological 
 XInstitute. Many others have contributed to the design and implementation 
 XMINC over the years.
 X
 XWWW: http://www.bic.mni.mcgill.ca/software/minc/
 X
 XPort maintainer: Jason W. Bacon
 X		 bacon@smithers.neuro.mcw.edu
 END-of-minc/pkg-descr
 echo x - minc/distinfo
 sed 's/^X//' >minc/distinfo << 'END-of-minc/distinfo'
 XMD5 (minc-1.4.tar.gz) = 873a6deed8109f95d29a197bad9f6070
 XSHA256 (minc-1.4.tar.gz) = a07c9523f232c823f38275bc8bb23011e70a29a0a45071dad0dec81317a75c4f
 XSIZE (minc-1.4.tar.gz) = 1213768
 END-of-minc/distinfo
 echo x - minc/pkg-message
 sed 's/^X//' >minc/pkg-message << 'END-of-minc/pkg-message'
 X=============================================================================
 XFor questions or comments regarding this port, please contact the
 Xport maintainer: bacon@smithers.neuro.mcw.edu
 X
 XFor MINC usage, please visit the MINC WEB site at
 X
 Xhttp://www.bic.mni.mcgill.ca/software/minc/
 X=============================================================================
 END-of-minc/pkg-message
 echo x - minc/pkg-plist
 sed 's/^X//' >minc/pkg-plist << 'END-of-minc/pkg-plist'
 Xbin/dcm2mnc
 Xbin/ecattominc
 Xbin/invert_raw_image
 Xbin/minc_modify_header
 Xbin/mincaverage
 Xbin/minccalc
 Xbin/mincconcat
 Xbin/minccopy
 Xbin/mincdiff
 Xbin/mincedit
 Xbin/mincexpand
 Xbin/mincextract
 Xbin/mincheader
 Xbin/minchistory
 Xbin/mincinfo
 Xbin/minclookup
 Xbin/mincmakescalar
 Xbin/mincmakevector
 Xbin/mincmath
 Xbin/mincpik
 Xbin/mincresample
 Xbin/mincreshape
 Xbin/mincstats
 Xbin/minctoecat
 Xbin/minctoraw
 Xbin/mincview
 Xbin/mincwindow
 Xbin/mnc2nii
 Xbin/nii2mnc
 Xbin/rawtominc
 Xbin/transformtags
 Xbin/upet2mnc
 Xbin/voxeltoworld
 Xbin/worldtovoxel
 Xbin/xfmconcat
 Xbin/xfminvert
 Xinclude/ParseArgv.h
 Xinclude/minc.h
 Xinclude/minc_simple.h
 Xinclude/nd_loop.h
 Xinclude/time_stamp.h
 Xinclude/volume_io.h
 Xinclude/volume_io/alloc.h
 Xinclude/volume_io/arrays.h
 Xinclude/volume_io/basic.h
 Xinclude/volume_io/def_math.h
 Xinclude/volume_io/files.h
 Xinclude/volume_io/geom_structs.h
 Xinclude/volume_io/geometry.h
 Xinclude/volume_io/internal_volume_io.h
 Xinclude/volume_io/multidim.h
 Xinclude/volume_io/progress.h
 Xinclude/volume_io/string_funcs.h
 Xinclude/volume_io/system_dependent.h
 Xinclude/volume_io/transforms.h
 Xinclude/volume_io/vol_io_prototypes.h
 Xinclude/volume_io/volume.h
 Xinclude/volume_io/volume_cache.h
 Xinclude/voxel_loop.h
 Xlib/libminc.a
 Xlib/libminc.so
 Xlib/libminc.so.1
 Xlib/libvolume_io.a
 Xlib/libvolume_io.so
 Xlib/libvolume_io.so.0
 Xshare/nls/POSIX
 Xshare/nls/en_US.US-ASCII
 X@dirrm include/volume_io
 END-of-minc/pkg-plist
 exit
 
 
 --Boundary-00=_Hin1DsRaXJBNb1i--
Responsible-Changed-From-To: freebsd-ports-bugs->thierry 
Responsible-Changed-By: thierry 
Responsible-Changed-When: Sun Feb 12 14:40:45 UTC 2006 
Responsible-Changed-Why:  

Take it. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=91918 
State-Changed-From-To: open->closed 
State-Changed-By: thierry 
State-Changed-When: Sun Feb 12 15:30:43 UTC 2006 
State-Changed-Why:  

New port added, thanks! 

Remark: it might be interesting to add some documentation, at least 
the file GETTING_STARTED. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=91918 
>Unformatted:
