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
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
Responsible Changed From-To: freebsd-ports-bugs->thierry Take it.
State Changed From-To: open->closed New port added, thanks! Remark: it might be interesting to add some documentation, at least the file GETTING_STARTED.