ports/91918: New port for MINC (Medical Imaging NetCDF)
Jason Bacon
bacon at smithers.neuro.mcw.edu
Tue Jan 24 19:00:25 UTC 2006
The following reply was made to PR ports/91918; it has been noted by GNATS.
From: Jason Bacon <bacon at smithers.neuro.mcw.edu>
To: bug-followup at FreeBSD.org, bacon at 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 at 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 at 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 at 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 at dirrm include/volume_io
END-of-minc/pkg-plist
exit
--Boundary-00=_Hin1DsRaXJBNb1i--
More information about the freebsd-ports-bugs
mailing list