diff options
author | jschauma <jschauma@pkgsrc.org> | 2005-04-01 18:35:35 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2005-04-01 18:35:35 +0000 |
commit | d6725108878e24efe92bc837590364932d517c62 (patch) | |
tree | f795a47498e703b3ff945f9ded4036e03a0e1edb /devel/teem | |
parent | 67a361e9b6a5bdc1a5bb5abd022b00d68201058a (diff) | |
download | pkgsrc-d6725108878e24efe92bc837590364932d517c62.tar.gz |
Initial import of teem-1.8.0:
Teem is a set of ANSI C libraries for manipulation, measurement, and
visualization of structured scientific data. Includes N-dimensional image
I/O and processing, volume rendering, diffusion tensor processing, ray
tracing, PostScript rendering, and more.
Diffstat (limited to 'devel/teem')
-rw-r--r-- | devel/teem/DESCR | 4 | ||||
-rw-r--r-- | devel/teem/Makefile | 58 | ||||
-rw-r--r-- | devel/teem/PLIST | 87 | ||||
-rw-r--r-- | devel/teem/buildlink3.mk | 45 | ||||
-rw-r--r-- | devel/teem/distinfo | 7 | ||||
-rw-r--r-- | devel/teem/patches/patch-aa | 62 | ||||
-rw-r--r-- | devel/teem/patches/patch-ab | 13 |
7 files changed, 276 insertions, 0 deletions
diff --git a/devel/teem/DESCR b/devel/teem/DESCR new file mode 100644 index 00000000000..a2608df49a6 --- /dev/null +++ b/devel/teem/DESCR @@ -0,0 +1,4 @@ +Teem is a set of ANSI C libraries for manipulation, measurement, and +visualization of structured scientific data. Includes N-dimensional image +I/O and processing, volume rendering, diffusion tensor processing, ray +tracing, PostScript rendering, and more. diff --git a/devel/teem/Makefile b/devel/teem/Makefile new file mode 100644 index 00000000000..067eb7b5200 --- /dev/null +++ b/devel/teem/Makefile @@ -0,0 +1,58 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/04/01 18:35:35 jschauma Exp $ +# + +DISTNAME= teem-1.8.0-src +PKGNAME= ${DISTNAME:C/-src//} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=teem/} + +MAINTAINER= jschauma@NetBSD.org +HOMEPAGE= http://teem.sourceforge.net/ +COMMENT= Libraries for manipulation of Structured Scientific Data + +USE_BUILDLINK3= yes +USE_GNU_TOOLS+= make + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386" +TEEM_ARCH=netbsd.32 + +do-configure: + cd ${WRKSRC} && ${CP} -pR linux.32 netbsd.32 + +.elif ${OPSYS} == "Linux" && ${MACHINE_ARCH} == "i386" +TEEM_ARCH=linux.32 +else +PKG_FAIL_REASON="Support for this platform has not yet been added." +.endif + +MAKE_ENV+= TEEM_ARCH=${TEEM_ARCH} \ + TEEM_PNG=1 TEEM_BZIP2=1 TEEM_ZLIB=1 TEEM_PTHREAD=1 \ + TEEM_PNG_IPATH="-I${BUILDLINK_PREFIX.png}/include" \ + TEEM_PNG_LPATH="-L${BUILDLINK_PREFIX.png}/lib" \ + TEEM_BZIP2_IPATH="-I${BUILDLINK_PREFIX.bzip2}/include" \ + TEEM_BZIP2_LPATH="-L${BUILDLINK_PREFIX.bzip2}/lib" \ + TEEM_ZLIB_IPATH="-I${BUILDLINK_PREFIX.zlib}/include" \ + TEEM_ZLIB_LPATH="-L${BUILDLINK_PREFIX.zlib}/lib" \ + TEEM_PTHREAD_IPATH="-I${BUILDLINK_PREFIX.pthread}/include" \ + TEEM_PTHREAD_LPATH="-L${BUILDLINK_PREFIX.pthread}/lib" + +do-build: + cd ${WRKSRC}/src && ${MAKE_ENV} ${GMAKE} + +pre-install: + ${RM} -f ${WRKSRC}/${TEEM_ARCH}/bin/.empty \ + ${WRKSRC}/${TEEM_ARCH}/lib/.empty + +do-install: + cd ${WRKSRC}/include && ${PAX} -rw . ${PREFIX}/include/ + cd ${WRKSRC}/${TEEM_ARCH}/bin && ${PAX} -rw . ${PREFIX}/bin/ + cd ${WRKSRC}/${TEEM_ARCH}/lib && ${PAX} -rw . ${PREFIX}/lib/ + +.include "../../archivers/bzip2/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" + +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/teem/PLIST b/devel/teem/PLIST new file mode 100644 index 00000000000..8fcb4b95496 --- /dev/null +++ b/devel/teem/PLIST @@ -0,0 +1,87 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/01 18:35:35 jschauma Exp $ +bin/affine +bin/airSanity +bin/cubic +bin/emap +bin/gkms +bin/idx2pos +bin/ilk +bin/miter +bin/mrender +bin/ninspect +bin/nrrdSanity +bin/overrgb +bin/pos2idx +bin/pprobe +bin/qbert +bin/spots +bin/talkweb +bin/tend +bin/undos +bin/ungantry +bin/unu +bin/vprobe +include/teem/air.h +include/teem/alan.h +include/teem/bane.h +include/teem/biff.h +include/teem/coil.h +include/teem/dye.h +include/teem/echo.h +include/teem/ell.h +include/teem/ellMacros.h +include/teem/gage.h +include/teem/hest.h +include/teem/hoover.h +include/teem/limn.h +include/teem/mite.h +include/teem/moss.h +include/teem/nrrd.h +include/teem/nrrdDefines.h +include/teem/nrrdEnums.h +include/teem/nrrdMacros.h +include/teem/ten.h +include/teem/tenMacros.h +include/teem/unrrdu.h +include/teem32bit.h +include/teemDio.h +include/teemEndian.h +include/teemPng.h +include/teemQnanhibit.h +lib/libair.a +lib/libair.so +lib/libalan.a +lib/libalan.so +lib/libbane.a +lib/libbane.so +lib/libbiff.a +lib/libbiff.so +lib/libcoil.a +lib/libcoil.so +lib/libdye.a +lib/libdye.so +lib/libecho.a +lib/libecho.so +lib/libell.a +lib/libell.so +lib/libgage.a +lib/libgage.so +lib/libhest.a +lib/libhest.so +lib/libhoover.a +lib/libhoover.so +lib/liblimn.a +lib/liblimn.so +lib/libmite.a +lib/libmite.so +lib/libmoss.a +lib/libmoss.so +lib/libnrrd.a +lib/libnrrd.so +lib/libteem.a +lib/libteem.so +lib/libten.a +lib/libten.so +lib/libunrrdu.a +lib/libunrrdu.so +@dirrm include/teem diff --git a/devel/teem/buildlink3.mk b/devel/teem/buildlink3.mk new file mode 100644 index 00000000000..eb57ad6f511 --- /dev/null +++ b/devel/teem/buildlink3.mk @@ -0,0 +1,45 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/04/01 18:35:35 jschauma Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +TEEM_BUILDLINK3_MK:= ${TEEM_BUILDLINK3_MK}+ + +.include "../../mk/bsd.prefs.mk" + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= teem +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nteem} +BUILDLINK_PACKAGES+= teem + +.if !empty(TEEM_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.teem+= teem>=1.8.0 +BUILDLINK_PKGSRCDIR.teem?= ../../devel/teem + +BUILDLINK_FILES.teem+= include/teem/* +BUILDLINK_FILES.teem+= include/teem32bit.h include/teemDio.h +BUILDLINK_FILES.teem+= include/teemEndian.h include/teemPng.h +BUILDLINK_FILES.teem+= include/teemQnanhibit.h + +BUILDLINK_FILES.teem+= lib/libair.* +BUILDLINK_FILES.teem+= lib/libalan.* +BUILDLINK_FILES.teem+= lib/libbane.* +BUILDLINK_FILES.teem+= lib/libbiff.* +BUILDLINK_FILES.teem+= lib/libcoil.* +BUILDLINK_FILES.teem+= lib/libdye.* +BUILDLINK_FILES.teem+= lib/libecho.* +BUILDLINK_FILES.teem+= lib/libell.* +BUILDLINK_FILES.teem+= lib/libgage.* +BUILDLINK_FILES.teem+= lib/libhest.* +BUILDLINK_FILES.teem+= lib/libhoover.* +BUILDLINK_FILES.teem+= lib/liblimn.* +BUILDLINK_FILES.teem+= lib/libmite.* +BUILDLINK_FILES.teem+= lib/libmoss.* +BUILDLINK_FILES.teem+= lib/libnrrd.* +BUILDLINK_FILES.teem+= lib/libteem.* +BUILDLINK_FILES.teem+= lib/libten.* +BUILDLINK_FILES.teem+= lib/libunrrdu.* + +.endif # TEEM_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/teem/distinfo b/devel/teem/distinfo new file mode 100644 index 00000000000..e79551751e1 --- /dev/null +++ b/devel/teem/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/04/01 18:35:35 jschauma Exp $ + +SHA1 (teem-1.8.0-src.tar.gz) = fd57c40136d877d33cb45b2afc54a95564e67225 +RMD160 (teem-1.8.0-src.tar.gz) = 7154b1a7b12a08f7267017e213794673f6192827 +Size (teem-1.8.0-src.tar.gz) = 1127914 bytes +SHA1 (patch-aa) = fc35c563837dee860a532af78f00fd39af0f3ce4 +SHA1 (patch-ab) = 80831c5833b274ea904d1966872b34aac79df808 diff --git a/devel/teem/patches/patch-aa b/devel/teem/patches/patch-aa new file mode 100644 index 00000000000..39eab90e155 --- /dev/null +++ b/devel/teem/patches/patch-aa @@ -0,0 +1,62 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/04/01 18:35:35 jschauma Exp $ + +--- /dev/null 2005-04-01 11:19:18.000000000 -0500 ++++ src/make/netbsd.mk 2005-04-01 11:14:31.000000000 -0500 +@@ -0,0 +1,57 @@ ++# ++# teem: Gordon Kindlmann's research software ++# Copyright (C) 2005 Gordon Kindlmann ++# Copyright (C) 2003, 2002, 2001, 2000, 1999, 1998 University of Utah ++# ++# This library is free software; you can redistribute it and/or ++# modify it under the terms of the GNU Lesser General Public ++# License as published by the Free Software Foundation; either ++# version 2.1 of the License, or (at your option) any later version. ++# ++# This library is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++# Lesser General Public License for more details. ++# ++# You should have received a copy of the GNU Lesser General Public ++# License along with this library; if not, write to the Free Software ++# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ++# ++# ++ ++TEEM_SHEXT = so ++ ++OPT_CFLAG ?= -O2 ++STATIC_CFLAG = -Wl,-Bstatic ++SHARED_CFLAG = -Wl,-Bdynamic ++SHARED_LDFLAG = -shared ++SHARED_RPATH = -Wl,-rpath -Wl, ++ ++TEEM_ENDIAN = 1234 ++TEEM_QNANHIBIT = 1 ++TEEM_DIO = 0 ++ifeq ($(SUBARCH),ia64) ++ TEEM_32BIT = 0 ++ ARCH_CFLAG = -fPIC -W -Wall -Wno-unused-parameter ++ ARCH_LDFLAG = ++else ++ ifeq ($(SUBARCH),amd64) ++ TEEM_32BIT = 0 ++ ARCH_CFLAG = -fPIC -W -Wall -Wno-unused-parameter ++ ARCH_LDFLAG = ++ else ++ ifeq ($(SUBARCH),32) ++ TEEM_32BIT = 1 ++ ARCH_CFLAG = -W -Wall -Wno-unused-parameter ++ ARCH_LDFLAG = ++ else ++ $(error linux sub-architecture "$(SUBARCH)" not recognized) ++ endif ++ endif ++endif ++ ++TEEM_ZLIB.IPATH ?= ++TEEM_ZLIB.LPATH ?= ++ ++TEEM_BZIP2.IPATH ?= ++TEEM_BZIP2.LPATH ?= diff --git a/devel/teem/patches/patch-ab b/devel/teem/patches/patch-ab new file mode 100644 index 00000000000..e6e495a3440 --- /dev/null +++ b/devel/teem/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/04/01 18:35:35 jschauma Exp $ + +--- src/make/errorCheck.mk.orig 2005-04-01 11:33:01.000000000 -0500 ++++ src/make/errorCheck.mk 2005-04-01 11:33:13.000000000 -0500 +@@ -25,7 +25,7 @@ + + # all the architectures currently supported + KNOWN_ARCH = irix6.n32 irix6.64 linux.32 linux.ia64 linux.amd64 \ +- darwin.32 darwin.64 cygwin solaris aix ++ darwin.32 darwin.64 cygwin solaris aix netbsd.32 + + # there is no default architecture + checkArchSet = $(if $(TEEM_ARCH),,\ |