aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-04-28 18:58:01 +0800
committermiwi <miwi@FreeBSD.org>2007-04-28 18:58:01 +0800
commitbf852256854900f9b2c3042a546a39dbfad8b42a (patch)
tree131301ca00c05c44e3e218380326be2947f3b0b2 /science
parent8e7cf66f2659ff9604a33831105da47edb63733d (diff)
downloadfreebsd-ports-gnome-bf852256854900f9b2c3042a546a39dbfad8b42a.tar.gz
freebsd-ports-gnome-bf852256854900f9b2c3042a546a39dbfad8b42a.tar.zst
freebsd-ports-gnome-bf852256854900f9b2c3042a546a39dbfad8b42a.zip
NIfTI-1 is a new Analyze-style data format, proposed by the NIfTI DFWG
as a short-term measure to facilitate inter-operation of functional MRI data analysis software packages. WWW: http://nifti.nimh.nih.gov/ PR: ports/112183 Submitted by: Jason W. Bacon
Diffstat (limited to 'science')
-rw-r--r--science/Makefile1
-rw-r--r--science/nifticlib/Makefile27
-rw-r--r--science/nifticlib/distinfo3
-rw-r--r--science/nifticlib/files/nifticlib.121
-rw-r--r--science/nifticlib/files/patch-Makefile36
-rw-r--r--science/nifticlib/pkg-descr5
-rw-r--r--science/nifticlib/pkg-plist12
7 files changed, 105 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 3b9c04e9768f..6f698f843b9b 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -73,6 +73,7 @@
SUBDIR += mpqc
SUBDIR += mpqc-mpich
SUBDIR += netcdf
+ SUBDIR += nifticlib
SUBDIR += oases
SUBDIR += omnetpp
SUBDIR += oof
diff --git a/science/nifticlib/Makefile b/science/nifticlib/Makefile
new file mode 100644
index 000000000000..10b7b8610d19
--- /dev/null
+++ b/science/nifticlib/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: nifticlib
+# Date created: 2007-04-27
+# Whom: Jason W. Bacon
+#
+# $FreeBSD$
+#
+
+PORTNAME= nifticlib
+PORTVERSION= 0.4
+CATEGORIES= science graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= niftilib
+
+MAINTAINER= bacon@smithers.neuro.mcw.edu
+COMMENT= Neuroimaging Infoirmatics Technology Initiative data format
+
+USE_GMAKE= yes
+
+MAN1= nifticlib.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include
+ ${INSTALL_MAN} ${FILESDIR}/nifticlib.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/science/nifticlib/distinfo b/science/nifticlib/distinfo
new file mode 100644
index 000000000000..6dfa953b7275
--- /dev/null
+++ b/science/nifticlib/distinfo
@@ -0,0 +1,3 @@
+MD5 (nifticlib-0.4.tar.gz) = d343dd156dcadab07181427d8b6a4eff
+SHA256 (nifticlib-0.4.tar.gz) = 0dbab306fa3b07621f54938bd5f32b80a4a9ea2e665e753adc223ba6c3340ed2
+SIZE (nifticlib-0.4.tar.gz) = 223814
diff --git a/science/nifticlib/files/nifticlib.1 b/science/nifticlib/files/nifticlib.1
new file mode 100644
index 000000000000..f116c758bfd4
--- /dev/null
+++ b/science/nifticlib/files/nifticlib.1
@@ -0,0 +1,21 @@
+.TH NIFTICLIB 1
+.SH NAME \" Section header
+.PP
+
+NIFTICLIB - Neuroimaging Informatics Technology Initiative data format
+
+.SH "DESCRIPTION"
+
+.B Nifticlib
+is a set of tools and libraries for maintaining a common data format
+among neuroimaging applications. For documentation, please visit
+http://nifti.nimh.nih.gov/
+
+.SH "SEE ALSO"
+afni(1), fsl(1), caret(1)
+
+.SH AUTHOR
+.nf
+.na
+Robert Cox, PhD, et. al.
+
diff --git a/science/nifticlib/files/patch-Makefile b/science/nifticlib/files/patch-Makefile
new file mode 100644
index 000000000000..ade6b81051bb
--- /dev/null
+++ b/science/nifticlib/files/patch-Makefile
@@ -0,0 +1,36 @@
+--- Makefile.orig Wed Sep 6 13:12:43 2006
++++ Makefile Fri Apr 27 09:04:12 2007
+@@ -15,21 +15,21 @@
+
+
+ ## Compiler defines
+-cc = gcc
+-CC = gcc
+-AR = ar
+-RANLIB = ranlib
+-DEPENDFLAGS = -MM
+-GNU_ANSI_FLAGS = -Wall -ansi -pedantic
+-ANSI_FLAGS = ${GNU_ANSI_FLAGS}
+-CFLAGS = $(ANSI_FLAGS)
++cc ?= gcc
++CC ?= gcc
++AR ?= ar
++RANLIB ?= ranlib
++DEPENDFLAGS ?= -MM
++GNU_ANSI_FLAGS ?= -Wall -ansi -pedantic
++ANSI_FLAGS ?= ${GNU_ANSI_FLAGS}
++CFLAGS ?= $(ANSI_FLAGS)
+
+ ## Command defines
+ ## gmake does not work on MacOSX or some versions of linux MAKE = gmake
+-RM = rm
+-MV = mv
+-CP = cp
+-TAR = /opt/csw/bin/gtar ##/usr/freeware/bin/tar
++RM ?= rm
++MV ?= mv
++CP ?= cp
++TAR ?= /opt/csw/bin/gtar ##/usr/freeware/bin/tar
+
+
+ ## Installation
diff --git a/science/nifticlib/pkg-descr b/science/nifticlib/pkg-descr
new file mode 100644
index 000000000000..d44ba5697d98
--- /dev/null
+++ b/science/nifticlib/pkg-descr
@@ -0,0 +1,5 @@
+NIfTI-1 is a new Analyze-style data format, proposed by the NIfTI DFWG
+as a short-term measure to facilitate inter-operation of functional MRI
+data analysis software packages.
+
+WWW: http://nifti.nimh.nih.gov/
diff --git a/science/nifticlib/pkg-plist b/science/nifticlib/pkg-plist
new file mode 100644
index 000000000000..7eab9e4b445d
--- /dev/null
+++ b/science/nifticlib/pkg-plist
@@ -0,0 +1,12 @@
+bin/nifti1_test
+bin/nifti_stats
+bin/nifti_tool
+include/config.h
+include/dbh.h
+include/fslio.h
+include/nifti1.h
+include/nifti1_io.h
+include/znzlib.h
+lib/libfslio.a
+lib/libniftiio.a
+lib/libznz.a