Lines 1-21
Link Here
|
1 |
# Created by: jbacon |
1 |
# Created by: jbacon |
2 |
# $FreeBSD: head/science/minc2/Makefile 341763 2014-01-29 17:31:04Z thierry $ |
2 |
# $FreeBSD: head/science/minc2/Makefile 341763 2014-01-29 17:31:04Z thierry $ |
3 |
|
3 |
|
4 |
############################################################################ |
|
|
5 |
# http://www.bic.mni.mcgill.ca/software/minc/ |
6 |
# is the ultimate source for MINC, and will always contain the latest |
7 |
# source release. If this port is not up to date enough for you, |
8 |
# you can download the latest sources and build manually. On FreeBSD, |
9 |
# you must configure with the environment variable LDFLAGS set to |
10 |
# ${LOCALBASE}/lib so that the configure script will find libnetcdf. |
11 |
# Of course, the netcdf port must be installed first. |
12 |
|
13 |
PORTNAME= minc |
4 |
PORTNAME= minc |
14 |
PORTVERSION= 2.0.18 |
5 |
PORTVERSION= 2.2.00 |
15 |
PORTEPOCH= 1 |
6 |
PORTEPOCH= 1 |
16 |
CATEGORIES= science biology |
7 |
CATEGORIES= science biology |
17 |
MASTER_SITES= http://packages.bic.mni.mcgill.ca/tgz/ \ |
8 |
MASTER_SITES= GH |
18 |
http://www.nitrc.org/frs/download.php/801/ |
|
|
19 |
PKGNAMESUFFIX= 2 |
9 |
PKGNAMESUFFIX= 2 |
20 |
|
10 |
|
21 |
MAINTAINER= ports@FreeBSD.org |
11 |
MAINTAINER= ports@FreeBSD.org |
Lines 23-38
Link Here
|
23 |
|
13 |
|
24 |
LICENSE= BSD |
14 |
LICENSE= BSD |
25 |
|
15 |
|
26 |
LIB_DEPENDS= libnetcdf.so.4:${PORTSDIR}/science/netcdf \ |
16 |
LIB_DEPENDS= libhdf5.so.7:${PORTSDIR}/science/hdf5-18 \ |
27 |
libhdf5.so.0:${PORTSDIR}/science/hdf5 |
17 |
libnetcdf.so.7:${PORTSDIR}/science/netcdf4 |
28 |
|
18 |
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash |
29 |
USE_AUTOTOOLS= libtool |
19 |
|
30 |
USE_LDCONFIG= yes |
20 |
USE_GITHUB= yes |
31 |
CPPFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include -DH5_USE_16_API |
21 |
GH_ACCOUNT= BIC-MNI |
32 |
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
22 |
GH_TAGNAME= release-${PORTVERSION} |
|
|
23 |
GH_COMMIT= 6f2f5b9 |
24 |
|
25 |
USES= bison gmake perl5 shebangfix |
26 |
SHEBANG_FILES= progs/mincview/mincview |
27 |
USE_PERL5= build |
28 |
USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf |
29 |
LIBTOOLIZE_ARGS=--copy --force |
30 |
ACLOCAL_ARGS= -I m4 --automake-acdir=${ACLOCAL_DIR} |
31 |
AUTOMAKE_ARGS= --add-missing |
33 |
CONFIGURE_ARGS= --enable-shared=yes --enable-static=yes |
32 |
CONFIGURE_ARGS= --enable-shared=yes --enable-static=yes |
|
|
33 |
USE_LDCONFIG= yes |
34 |
|
35 |
CFLAGS+= -Wno-return-type |
36 |
CPPFLAGS+= -I${LOCALBASE}/include |
37 |
LDFLAGS+= -L${LOCALBASE}/lib |
34 |
|
38 |
|
35 |
CONFLICTS= minc-1* zh-tk-[0-9]* |
39 |
CONFLICTS= minc-1* zh-tk-[0-9]* |
36 |
LATEST_LINK= minc2 |
40 |
|
|
|
41 |
STRIP_FILES= dcm2mnc ecattominc invert_raw_image minc_modify_header \ |
42 |
mincaverage mincblob minccalc minccmp \ |
43 |
mincconcat mincconvert minccopy mincdump \ |
44 |
mincexpand mincextract mincgen mincinfo \ |
45 |
minclookup mincmakescalar mincmakevector mincmath \ |
46 |
mincmorph mincresample mincreshape mincsample \ |
47 |
mincstats minctoecat minctoraw mincwindow \ |
48 |
mnc2nii nii2mnc rawtominc transformtags \ |
49 |
upet2mnc vff2mnc voxeltoworld worldtovoxel \ |
50 |
xfm2def xfmconcat xfminvert |
51 |
|
52 |
post-install: |
53 |
.for i in ${STRIP_FILES} |
54 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i} |
55 |
.endfor |
37 |
|
56 |
|
38 |
.include <bsd.port.mk> |
57 |
.include <bsd.port.mk> |