2006-02-12 16:30:03 +01:00
|
|
|
############################################################################
|
|
|
|
# New ports collection Makefile for: minc 1.x (Medical Imaging NetCDF)
|
|
|
|
# Date created: 21 Dec 2005
|
|
|
|
# Whom: jbacon
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
############################################################################
|
|
|
|
# http://www.bic.mni.mcgill.ca/software/minc/
|
|
|
|
# is the ultimate source for MINC, and will always contain the latest
|
|
|
|
# source release. If this port is not up to date enough for you,
|
|
|
|
# you can download the latest sources and build manually. On FreeBSD,
|
|
|
|
# you must configure with the environment variable LDFLAGS set to
|
|
|
|
# ${LOCALBASE}/lib so that the configure script will find libnetcdf.
|
|
|
|
# Of course, the netcdf port must be installed first.
|
|
|
|
|
|
|
|
PORTNAME= minc
|
2012-07-20 18:32:07 +02:00
|
|
|
PORTVERSION= 1.5.1
|
2006-02-12 16:30:03 +01:00
|
|
|
CATEGORIES= science biology
|
2012-07-20 18:32:07 +02:00
|
|
|
MASTER_SITES= http://www.nitrc.org/frs/downloadlink.php/400/
|
2006-02-12 16:30:03 +01:00
|
|
|
|
2009-06-19 22:06:31 +02:00
|
|
|
MAINTAINER= jwbacon@tds.net
|
2006-02-12 16:30:03 +01:00
|
|
|
COMMENT= Medical Imaging NetCDF
|
|
|
|
|
2007-04-10 05:08:59 +02:00
|
|
|
LIB_DEPENDS= netcdf.4:${PORTSDIR}/science/netcdf
|
2006-02-12 16:30:03 +01:00
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2006-02-23 11:40:44 +01:00
|
|
|
CONFIGURE_ARGS= --enable-static=yes --enable-shared=yes
|
2006-02-12 16:30:03 +01:00
|
|
|
|
2012-07-20 18:32:07 +02:00
|
|
|
CONFLICTS= minc-2* zh-tk-[0-9]*
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-1.5
|
2006-04-30 14:05:08 +02:00
|
|
|
|
2006-02-12 16:30:03 +01:00
|
|
|
MAN1= dcm2mnc.1 \
|
|
|
|
ecattominc.1 \
|
|
|
|
invert_raw_image.1 \
|
|
|
|
minc_modify_header.1 \
|
|
|
|
mincaverage.1 \
|
|
|
|
minccalc.1 \
|
|
|
|
mincconcat.1 \
|
|
|
|
minccopy.1 \
|
|
|
|
mincdiff.1 \
|
|
|
|
mincedit.1 \
|
|
|
|
mincexpand.1 \
|
|
|
|
mincextract.1 \
|
|
|
|
mincheader.1 \
|
2012-07-20 18:32:07 +02:00
|
|
|
minchistory.1 \
|
2006-02-12 16:30:03 +01:00
|
|
|
mincinfo.1 \
|
|
|
|
minclookup.1 \
|
|
|
|
mincmakescalar.1 \
|
|
|
|
mincmakevector.1 \
|
|
|
|
mincmath.1 \
|
|
|
|
mincpik.1 \
|
|
|
|
mincresample.1 \
|
|
|
|
mincreshape.1 \
|
|
|
|
mincstats.1 \
|
|
|
|
minctoecat.1 \
|
|
|
|
minctoraw.1 \
|
|
|
|
mincview.1 \
|
|
|
|
mincwindow.1 \
|
|
|
|
mnc2nii.1 \
|
|
|
|
nii2mnc.1 \
|
|
|
|
rawtominc.1 \
|
|
|
|
transformtags.1 \
|
|
|
|
upet2mnc.1 \
|
|
|
|
voxeltoworld.1 \
|
|
|
|
xfmconcat.1 \
|
|
|
|
xfminvert.1
|
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
MAN3= ParseArgv.3
|
2006-02-12 16:30:03 +01:00
|
|
|
|
2012-07-20 18:32:07 +02:00
|
|
|
FETCH_ARGS+= -F
|
|
|
|
|
2006-02-12 16:30:03 +01:00
|
|
|
post-install:
|
2006-03-22 15:37:20 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2006-02-12 16:30:03 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|