1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Update to version 2.0.18 [1]

Fix build with clang [2]
Change WWW in pkg-descr and pkg-message to point to current web side [3]

PR:		ports/169925 [1]
Submitted by:	Jason Bacon <jwbacon@tds.net> (maintainer) [1], kwm [2], [3]
Approved by:	maintainer, kwm (mentor)
This commit is contained in:
Niclas Zeising 2012-07-20 16:33:32 +00:00
parent 731e041cb5
commit e0ee3df12d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301234
6 changed files with 25 additions and 11 deletions

View File

@ -16,25 +16,23 @@
# Of course, the netcdf port must be installed first.
PORTNAME= minc
PORTVERSION= 2.0.09
PORTREVISION= 1
PORTVERSION= 2.0.18
CATEGORIES= science biology
MASTER_SITES= http://www.bic.mni.mcgill.ca/users/bert/ \
http://www.neuro.mcw.edu/~bacon/Ports/distfiles/
MASTER_SITES= http://www.nitrc.org/frs/download.php/801/
MAINTAINER= jwbacon@tds.net
COMMENT= Medical Imaging NetCDF
LIB_DEPENDS= netcdf.4:${PORTSDIR}/science/netcdf \
hdf5.0:${PORTSDIR}/science/hdf5
hdf5:${PORTSDIR}/science/hdf5
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
CPPFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
CPPFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include -DH5_USE_16_API
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ARGS= --enable-shared=yes --enable-static=yes
CONFLICTS= minc-1*
CONFLICTS= minc-1* zh-tk-[0-9]*
LATEST_LINK= minc2
MAN1= dcm2mnc.1 \
@ -71,9 +69,12 @@ MAN1= dcm2mnc.1 \
rawtominc.1 \
transformtags.1 \
upet2mnc.1 \
vff2mnc.1 \
voxeltoworld.1 \
xfmconcat.1 \
xfmflip.1 \
xfminvert.1
MAN3= ParseArgv.3
post-install:

View File

@ -1,2 +1,2 @@
SHA256 (minc-2.0.09.tar.gz) = b55907a5dd26c1b98b39f6cb81133336d7c794d4f7d4ad38b02561a9cc489390
SIZE (minc-2.0.09.tar.gz) = 1418085
SHA256 (minc-2.0.18.tar.gz) = 674cc89c43edfdb1957251c0124ea83252740c667cf3c4d9fc6183dcdb10f3e5
SIZE (minc-2.0.18.tar.gz) = 1628038

View File

@ -0,0 +1,11 @@
--- conversion/minctoecat/machine_indep.c.orig 2012-07-20 17:16:13.000000000 +0200
+++ conversion/minctoecat/machine_indep.c 2012-07-20 17:17:48.000000000 +0200
@@ -84,7 +84,7 @@
bufr[1] = ret >>16;
}
#else /* BIG ENDIAN : sun hp sgi*/
-ftovaxf(orig,number)
+void ftovaxf(orig,number)
unsigned short number[2];
float orig;
{

View File

@ -4,7 +4,7 @@ Neelin at the McConnell Brain Imaging Centre of the Montreal Neurological
Institute. Many others have contributed to the design and implementation
MINC over the years.
WWW: http://www.bic.mni.mcgill.ca/software/minc/
WWW: http://www.bic.mni.mcgill.ca/ServicesSoftware/MINC
Port maintainer: Jason W. Bacon
jwbacon@tds.net

View File

@ -4,5 +4,5 @@ port maintainer: jwbacon@tds.net
For MINC usage, please visit the MINC WEB site at
http://www.bic.mni.mcgill.ca/software/minc/
http://www.bic.mni.mcgill.ca/ServicesSoftware/MINC
=============================================================================

View File

@ -33,9 +33,11 @@ bin/nii2mnc
bin/rawtominc
bin/transformtags
bin/upet2mnc
bin/vff2mnc
bin/voxeltoworld
bin/worldtovoxel
bin/xfmconcat
bin/xfmflip
bin/xfminvert
include/ParseArgv.h
include/minc.h