aboutsummaryrefslogtreecommitdiff
path: root/science/minc2/Makefile
blob: 5507b5abe8554fdce34a110d78d11b4a7bcd4ba0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
############################################################################
# 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
PORTVERSION=	2.0.09
PORTREVISION=	1
CATEGORIES=	science biology
MASTER_SITES=	http://www.bic.mni.mcgill.ca/users/bert/ \
		http://www.neuro.mcw.edu/~bacon/Ports/distfiles/

MAINTAINER=	bacon@smithers.neuro.mcw.edu
COMMENT=	Medical Imaging NetCDF

LIB_DEPENDS=	netcdf.4:${PORTSDIR}/science/netcdf \
		hdf5.0:${PORTSDIR}/science/hdf5

USE_AUTOTOOLS=	libtool:15
USE_LDCONFIG=	yes
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS=	--enable-shared=yes --enable-static=yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

CONFLICTS=	minc-1*
LATEST_LINK=	minc2

MAN1=	dcm2mnc.1 \
	ecattominc.1 \
	invert_raw_image.1 \
	minc_modify_header.1 \
	mincaverage.1 \
	minccalc.1 \
	mincconcat.1 \
	mincconvert.1 \
	minccopy.1 \
	mincdiff.1 \
	mincedit.1 \
	mincexpand.1 \
	mincextract.1 \
	mincgen.1 \
	mincheader.1 \
	minchistory.1 \
	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
MAN3=	ParseArgv.3

post-install:
	${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>