aboutsummaryrefslogtreecommitdiff
path: root/science/minc
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2012-07-20 16:32:07 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2012-07-20 16:32:07 +0000
commit731e041cb5d0b8ad7802381f6edbedb3c34ad9ab (patch)
treeba1c60ac3b5b00b79fb94e0ffa1e64db82fc8003 /science/minc
parentfc438e36abab8ae8cd79b0ba787f379136b1706b (diff)
downloadports-731e041cb5d0b8ad7802381f6edbedb3c34ad9ab.tar.gz
ports-731e041cb5d0b8ad7802381f6edbedb3c34ad9ab.zip
Notes
Diffstat (limited to 'science/minc')
-rw-r--r--science/minc/Makefile13
-rw-r--r--science/minc/distinfo4
-rw-r--r--science/minc/files/patch-conversion__minctoecat__machine_indep.c11
-rw-r--r--science/minc/pkg-descr2
-rw-r--r--science/minc/pkg-message2
5 files changed, 23 insertions, 9 deletions
diff --git a/science/minc/Makefile b/science/minc/Makefile
index 1878fa00e0bf..d69f36d72683 100644
--- a/science/minc/Makefile
+++ b/science/minc/Makefile
@@ -16,11 +16,9 @@
# Of course, the netcdf port must be installed first.
PORTNAME= minc
-PORTVERSION= 1.4
-PORTREVISION= 2
+PORTVERSION= 1.5.1
CATEGORIES= science biology
-MASTER_SITES= http://www.bic.mni.mcgill.ca/software/distribution/packages/ \
- http://www.neuro.mcw.edu/~bacon/Ports/distfiles/
+MASTER_SITES= http://www.nitrc.org/frs/downloadlink.php/400/
MAINTAINER= jwbacon@tds.net
COMMENT= Medical Imaging NetCDF
@@ -34,7 +32,9 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-static=yes --enable-shared=yes
-CONFLICTS= minc-2*
+CONFLICTS= minc-2* zh-tk-[0-9]*
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-1.5
MAN1= dcm2mnc.1 \
ecattominc.1 \
@@ -49,6 +49,7 @@ MAN1= dcm2mnc.1 \
mincexpand.1 \
mincextract.1 \
mincheader.1 \
+ minchistory.1 \
mincinfo.1 \
minclookup.1 \
mincmakescalar.1 \
@@ -73,6 +74,8 @@ MAN1= dcm2mnc.1 \
MAN3= ParseArgv.3
+FETCH_ARGS+= -F
+
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/science/minc/distinfo b/science/minc/distinfo
index 74156fee7429..8eca6102f52f 100644
--- a/science/minc/distinfo
+++ b/science/minc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (minc-1.4.tar.gz) = a07c9523f232c823f38275bc8bb23011e70a29a0a45071dad0dec81317a75c4f
-SIZE (minc-1.4.tar.gz) = 1213768
+SHA256 (minc-1.5.1.tar.gz) = 3ca7045c6eaa32daea184af3f78e30969bb0a0dddce2a1b292ba1624d23a61c9
+SIZE (minc-1.5.1.tar.gz) = 1356462
diff --git a/science/minc/files/patch-conversion__minctoecat__machine_indep.c b/science/minc/files/patch-conversion__minctoecat__machine_indep.c
new file mode 100644
index 000000000000..b1e87762e631
--- /dev/null
+++ b/science/minc/files/patch-conversion__minctoecat__machine_indep.c
@@ -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;
+ {
diff --git a/science/minc/pkg-descr b/science/minc/pkg-descr
index 1c7b09a15c9a..7d6f542bcb1c 100644
--- a/science/minc/pkg-descr
+++ b/science/minc/pkg-descr
@@ -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
diff --git a/science/minc/pkg-message b/science/minc/pkg-message
index 5c529217fd13..cc3dd854da2b 100644
--- a/science/minc/pkg-message
+++ b/science/minc/pkg-message
@@ -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
=============================================================================