aboutsummaryrefslogtreecommitdiffstats
path: root/science/minc
diff options
context:
space:
mode:
authorzeising <zeising@FreeBSD.org>2012-07-21 00:32:07 +0800
committerzeising <zeising@FreeBSD.org>2012-07-21 00:32:07 +0800
commit44a54ae678b05e8b6a114c7f08991e7fb94dca64 (patch)
treeba1c60ac3b5b00b79fb94e0ffa1e64db82fc8003 /science/minc
parentb8b535ee1f9641cd56628703600f85559b1deaad (diff)
downloadfreebsd-ports-gnome-44a54ae678b05e8b6a114c7f08991e7fb94dca64.tar.gz
freebsd-ports-gnome-44a54ae678b05e8b6a114c7f08991e7fb94dca64.tar.zst
freebsd-ports-gnome-44a54ae678b05e8b6a114c7f08991e7fb94dca64.zip
Update to version 1.5.1 [1]
Fix build with clang [2] Change WWW in pkg-descr and pkg-message to point to current web side [3] PR: ports/169924 [1] Submitted by: Jason Bacon <jwbacon@tds.net> (maintainer) [1], kwm [2], [3] Approved by: maintainer, kwm (mentor)
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
=============================================================================