diff options
Diffstat (limited to 'science')
76 files changed, 0 insertions, 2291 deletions
diff --git a/science/felt/Makefile b/science/felt/Makefile deleted file mode 100644 index 425da9f4b5d2..000000000000 --- a/science/felt/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# New ports collection makefile for: FElt -# Date created: 19 October 1996 -# Whom: Pedro Giffuni -# -# $FreeBSD$ -# - -PORTNAME= felt -PORTVERSION= 3.05 -CATEGORIES= cad -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ - http://symphony.clarku.edu/atkinson/felt/Binaries/ \ - ftp://ftp.isd.uni-stuttgart.de/pub/src/FEM/FElt/ -MASTER_SITE_SUBDIR= FElt -EXTRACT_SUFX= .src.tar.gz - -MAINTAINER= giffunip@asme.org - -LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d - -WRKSRC= ${WRKDIR}/FElt-${PORTVERSION} -GNU_CONFIGURE= yes -USE_X_PREFIX= yes - -MAN1= burlap.1 corduroy.1 felt.1 patchwork.1 velvet.1 yardstick.1 -MAN3= Drawing.3 -MAN4= corduroy.4 felt.4 - -post-install: - ${MKDIR} ${PREFIX}/share/examples/FElt - ${CP} ${WRKSRC}/examples/* ${PREFIX}/share/examples/FElt - ${MKDIR} ${PREFIX}/share/doc/FElt - ${CP} ${WRKSRC}/*.html ${PREFIX}/share/doc/FElt - -.include <bsd.port.mk> diff --git a/science/felt/distinfo b/science/felt/distinfo deleted file mode 100644 index 4fd54b6a954f..000000000000 --- a/science/felt/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (felt-3.05.src.tar.gz) = 3cadb25d7039604b862a30df55bf49f8 diff --git a/science/felt/files/patch-aa b/science/felt/files/patch-aa deleted file mode 100644 index 73bdcbfccea7..000000000000 --- a/science/felt/files/patch-aa +++ /dev/null @@ -1,19 +0,0 @@ -*** configure.orig Fri May 12 00:33:57 2000 ---- configure Fri May 12 00:39:34 2000 -*************** -*** 222,228 **** - CONTRIBFLAGS = $CONTRIBFLAGS - CPP = $CPP - DESTBIN = $DEST/bin -! DESTLIB = $DEST/lib/felt - DESTMAN = $DEST/man - INSTALL = sh \$(TOPDIR)/etc/install.sh -c - LDOPTS = ---- 222,228 ---- - CONTRIBFLAGS = $CONTRIBFLAGS - CPP = $CPP - DESTBIN = $DEST/bin -! DESTLIB = $DEST/share/felt - DESTMAN = $DEST/man - INSTALL = sh \$(TOPDIR)/etc/install.sh -c - LDOPTS = diff --git a/science/felt/files/patch-ab b/science/felt/files/patch-ab deleted file mode 100644 index 59a8c9cf6685..000000000000 --- a/science/felt/files/patch-ab +++ /dev/null @@ -1,20 +0,0 @@ -diff -rc src/Velvet.orig/Velvet.ad src/Velvet/Velvet.ad -*** src/Velvet.orig/Velvet.ad Wed Dec 23 23:01:06 1998 ---- src/Velvet/Velvet.ad Wed Dec 23 23:01:34 1998 -*************** -*** 1046,1052 **** - - ! 3d specific defaults - -! !*shapeStyle: Rectangle -! !*control*spacer.height: 43 -! !*control*MenuButton*height: 26 -! !*control*Command*height: 26 ---- 1046,1052 ---- - - ! 3d specific defaults - -! *shapeStyle: Rectangle -! *control*spacer.height: 43 -! *control*MenuButton*height: 26 -! *control*Command*height: 26 diff --git a/science/felt/files/patch-ac b/science/felt/files/patch-ac deleted file mode 100644 index c9361f62f8ee..000000000000 --- a/science/felt/files/patch-ac +++ /dev/null @@ -1,16 +0,0 @@ -*** src/Burlap/allocate.h.orig Sat Jun 14 22:32:22 1997 ---- src/Burlap/allocate.h Sat Jun 14 22:35:28 1997 -*************** -*** 28,34 **** ---- 28,38 ---- - - # ifndef _ALLOCATE_H - # define _ALLOCATE_H -+ #ifdef __STDC__ -+ #include <stdlib.h> -+ #else - # include <malloc.h> -+ #endif - # include <string.h> - - # define New(type) \ diff --git a/science/felt/files/patch-ad b/science/felt/files/patch-ad deleted file mode 100644 index 22525e8ca2d8..000000000000 --- a/science/felt/files/patch-ad +++ /dev/null @@ -1,15 +0,0 @@ ---- include/allocate.h.orig Fri Jan 10 20:11:30 1997 -+++ include/allocate.h Fri Jan 10 20:10:54 1997 -@@ -25,7 +25,12 @@ - - # ifndef _ALLOCATE_H - # define _ALLOCATE_H -+ -+#ifdef __STDC__ -+#include <stdlib.h> -+#else - # include "malloc.h" -+#endif - - # define AllocNew(type) \ - (type *) malloc (sizeof (type)) diff --git a/science/felt/pkg-comment b/science/felt/pkg-comment deleted file mode 100644 index beda7b174c25..000000000000 --- a/science/felt/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A system for Finite Element Analysis diff --git a/science/felt/pkg-descr b/science/felt/pkg-descr deleted file mode 100644 index 24d1ced3b194..000000000000 --- a/science/felt/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -FElt is a free system for introductory level finite element analysis in the -mechanical/structural/civil fields. In a command line environment, FElt -uses an intuitive, straightforward input syntax to describe problems. It -also includes a graphical user interface for workstations that allows the -user to set-up, solve and post-process the problem in a single CAD-like -environment. - -WWW: http://felt.sourceforge.net/ -http://crunch.inf.bi.ruhr-uni-bochum.de/FAR/ (FElt Application Repository) diff --git a/science/felt/pkg-plist b/science/felt/pkg-plist deleted file mode 100644 index 054672281479..000000000000 --- a/science/felt/pkg-plist +++ /dev/null @@ -1,106 +0,0 @@ -bin/burlap -bin/corduroy -bin/felt -bin/loom -bin/patchwork -bin/velvet -bin/yardstick -lib/X11/app-defaults/Velvet.ad -share/doc/FElt/FAQ.html -@dirrm share/doc/FElt -share/examples/FElt/frame3.flt -share/examples/FElt/beam3d_b.flt -share/examples/FElt/bridge.flt -share/examples/FElt/cube.flt -share/examples/FElt/iso.flt -share/examples/FElt/pstress.flt -share/examples/FElt/pstress_a.flt -share/examples/FElt/truss3d.flt -share/examples/FElt/truss_d.flt -share/examples/FElt/distrib.flt -share/examples/FElt/distrib_a.flt -share/examples/FElt/distrib_b.flt -share/examples/FElt/frame.flt -share/examples/FElt/htk_modal.flt -share/examples/FElt/mixed_dist.flt -share/examples/FElt/mixed.flt -share/examples/FElt/pstress_dist.flt -share/examples/FElt/truss.flt -share/examples/FElt/truss_a.flt -share/examples/FElt/beam.flt -share/examples/FElt/beam3d_2d.flt -share/examples/FElt/iso_a.flt -share/examples/FElt/distrib_c.flt -share/examples/FElt/README -share/examples/FElt/iso_b.flt -share/examples/FElt/iso_c.flt -share/examples/FElt/iso_tri.flt -share/examples/FElt/truss_trig.flt -share/examples/FElt/wrench.flt -share/examples/FElt/isoq_dist.flt -share/examples/FElt/isoq_tri.flt -share/examples/FElt/distrib_d.flt -share/examples/FElt/beam3d_dist.flt -share/examples/FElt/pstress_new.flt -share/examples/FElt/mixed_dist.ans -share/examples/FElt/displ.flt -share/examples/FElt/beam3d_dist_a.flt -share/examples/FElt/german.flt -share/examples/FElt/errors.flt -share/examples/FElt/distrib_e.flt -share/examples/FElt/timoshenko.flt -share/examples/FElt/timoshenko_a.flt -share/examples/FElt/timoshenko_c.flt -share/examples/FElt/global.flt -share/examples/FElt/global_a.flt -share/examples/FElt/hinged.flt -share/examples/FElt/tower.flt -share/examples/FElt/global3d_a.flt -share/examples/FElt/global3d.flt -share/examples/FElt/global3d_b.flt -share/examples/FElt/bicycle_boys.flt -share/examples/FElt/bicycle_girls.flt -share/examples/FElt/dynamic.flt -share/examples/FElt/dynframe.flt -share/examples/FElt/golden.flt -share/examples/FElt/bridge_dyn.flt -share/examples/FElt/htk.flt -share/examples/FElt/truss_canvas.flt -share/examples/FElt/brick.flt -share/examples/FElt/beam_ss.flt -share/examples/FElt/dist_mult.flt -share/examples/FElt/modal.flt -share/examples/FElt/modal_8.flt -share/examples/FElt/modal_sample.flt -share/examples/FElt/ctg.flt -share/examples/FElt/ctg_simple.flt -share/examples/FElt/heat.flt -share/examples/FElt/rod.flt -share/examples/FElt/beamspec.flt -share/examples/FElt/heat_transient.flt -share/examples/FElt/rod_transient.flt -share/examples/FElt/dynspect.flt -share/examples/FElt/spring_modal.flt -share/examples/FElt/spring2.flt -share/examples/FElt/truss_spec.flt -share/examples/FElt/boxtruss.flt -share/examples/FElt/bridge_spec.flt -share/examples/FElt/loadcase1.flt -share/examples/FElt/axisymm.flt -share/examples/FElt/beam_lc.flt -share/examples/FElt/beam_nl.flt -share/examples/FElt/beam_range.flt -share/examples/FElt/flexure.flt -share/examples/FElt/modal_test.flt -share/examples/FElt/nl_range.flt -share/examples/FElt/truss_nl.flt -share/examples/FElt/beam3d_a.flt -@dirrm share/examples/FElt -share/felt/beam.defaults -share/felt/material.defaults -share/felt/truss.defaults -share/felt/german.trn -share/felt/german_new.trn -share/felt/spanish.trn -@dirrm share/felt - diff --git a/science/hdf/Makefile b/science/hdf/Makefile deleted file mode 100644 index 1250fb6ec168..000000000000 --- a/science/hdf/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# New ports collection makefile for: HDF_lib -# Date created: 17 November 1996 -# Whom: mi -# -# $FreeBSD$ -# - -PORTNAME= hdf -PORTVERSION= 4.1r3 -CATEGORIES= graphics -MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF4.1r3/tar/ -DISTNAME= HDF${PORTVERSION} - -MAINTAINER= mi@aldan.algebra.com - -LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg - -MAN1= hdf.1 hdfunpac.1 ncdump.1 ncgen.1 -MAN3= gr_chunk.3 -MANCOMPRESSED= maybe - -MAKE_ARGS= PREFIX="${PREFIX}" -j 2 - -post-patch: - ${RM} -rf ${WRKSRC}/hdf/jpeg - ${RM} -rf ${WRKSRC}/hdf/zlib - -do-configure: - ${CP} -rp ${FILESDIR}/Makefile ${FILESDIR}/hdf \ - ${FILESDIR}/mfhdf ${FILESDIR}/man ${WRKSRC} - ${LN} -s config/netcdf-fbsd.h ${WRKSRC}/mfhdf/libsrc/netcdf.h - ${LN} -s netcdf-fbsd.inc ${WRKSRC}/mfhdf/fortran/config/netcdf.inc - -test: build - cd ${WRKSRC}; ${MAKE} test - -.include <bsd.port.mk> diff --git a/science/hdf/distinfo b/science/hdf/distinfo deleted file mode 100644 index 6e22d24afd1e..000000000000 --- a/science/hdf/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (HDF4.1r3.tar.gz) = 975f84ad8c5910841995c9d339fbd8bb diff --git a/science/hdf/files/Makefile b/science/hdf/files/Makefile deleted file mode 100644 index 0dc23c19cf80..000000000000 --- a/science/hdf/files/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -# $FreeBSD$ - -SUBDIR = hdf mfhdf man -#PREFIX ?= /usr/local -LIBDIR ?= ${PREFIX}/lib -BINDIR ?= ${PREFIX}/bin - -.MAKEFLAGS: PREFIX=${PREFIX} LIBDIR=${LIBDIR} BINDIR=${BINDIR} - -test: all - # testing in hdf - @cd hdf && ${MAKE} hdf-test - # testing in mfhdf - @cd mfhdf && ${MAKE} test - -.include <bsd.subdir.mk> diff --git a/science/hdf/files/hdf/Makefile b/science/hdf/files/hdf/Makefile deleted file mode 100644 index 1f9663c03246..000000000000 --- a/science/hdf/files/hdf/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD$ - -SUBDIR = src util test - -hdf-test: all - cd util && ${MAKE} test - cd test && ${MAKE} test - -.include <bsd.subdir.mk> diff --git a/science/hdf/files/hdf/src/Makefile b/science/hdf/files/hdf/src/Makefile deleted file mode 100644 index 391a70281060..000000000000 --- a/science/hdf/files/hdf/src/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -# $FreeBSD$ - -LIB=df - -# uncomment the line below to avoid building static libraries -#INTERNALLIB=YES -LIBDIR=${PREFIX}/lib -# comment out the line below to build the profile libs -NOPROFILE=yes - -SHLIB_MAJOR=1 -SHLIB_MINOR=0 - -SRCS=atom.c bitvect.c cdeflate.c cnbit.c cnone.c crle.c cskphuff.c \ - df24.c df24f.c dfan.c dfanf.c dfcomp.c dfconv.c dff.c dfgr.c \ - dfgroup.c dfimcomp.c dfjpeg.c dfkconv.c dfkcray.c dfkfuji.c \ - dfknat.c dfkswap.c dfkvms.c dfp.c dfpf.c dfr8.c dfr8f.c dfrle.c \ - dfsd.c dfsdf.c dfstubs.c dfufp2i.c dfunjpeg.c dfutil.c dfutilf.c \ - dir_mac.c dynarray.c glist.c hbitio.c hblocks.c hbuffer.c \ - hchunks.c hcomp.c hcompri.c hdfalloc.c herr.c herrf.c hextelt.c \ - hfile.c hfiledd.c hfilef.c hkit.c linklist.c mcache.c \ - mfan.c mfanf.c mfgr.c mfgrf.c mstdio.c tbbt.c vattr.c vattrf.c \ - vconv.c vg.c vgf.c vgp.c vhi.c vio.c vparse.c vrw.c vsfld.c \ - df24ff.f dfanff.f dfff.f dfpff.f dfr8ff.f dfsdff.f dfufp2if.f \ - hfileff.f mfgrff.f vattrff.f vgff.f - -CFLAGS += -I${PREFIX}/include -FFLAGS += ${CFLAGS} - -.if !defined(OSVERSION) -.if exists(/sbin/sysctl) -OSVERSION!= /sbin/sysctl -n kern.osreldate -.else -OSVERSION!= /usr/sbin/sysctl -n kern.osreldate -.endif -.endif - -.if ${OSVERSION} >= 400004 -LDADD += -L${PREFIX}/lib -ljpeg -lg2c -lz -lm -.else -LDADD += -L${PREFIX}/lib -ljpeg -lf2c -lz -.endif - -afterinstall: - install -c -o root -g wheel -m 444 \ - atom.h bitvect.h cdeflate.h cnbit.h cnone.h crle.h \ - cskphuff.h df.h dfan.h dfconvrt.h dfgr.h dfi.h dfivms.h \ - dfrig.h dfsd.h dfstubs.h dfufp2i.h dir_mac.h dynarray.h \ - glist.h hbitio.h hchunks.h hcomp.h hcompi.h hconv.h \ - hdf.h hdfi.h herr.h hfile.h hkit.h hlimits.h hntdefs.h \ - hproto.h hqueue.h htags.h linklist.h maldebug.h mcache.h \ - mfan.h mfgr.h mstdio.h patchlevel.h sys_dir_mac.h tbbt.h \ - trace.h vattr.h vg.h vgint.h hdf.inc dffunc.inc \ - ${PREFIX}/include - -.include <bsd.lib.mk> diff --git a/science/hdf/files/hdf/test/Makefile b/science/hdf/files/hdf/test/Makefile deleted file mode 100644 index 3a3c8ca98524..000000000000 --- a/science/hdf/files/hdf/test/Makefile +++ /dev/null @@ -1,68 +0,0 @@ -# $FreeBSD$ - -CSRCS= rig.c sdstr.c blocks.c an.c anfile.c extelt.c file.c file1.c vers.c \ - sdmms.c sdnmms.c slab.c litend.c tvset.c comp.c bitio.c tree.c macros.c \ - conv.c nbit.c man.c mgr.c testhdf.c tbv.c tvsfpack.c chunks.c tvattr.c \ - buffer.c - -COBJS= ${CSRCS:S/.c/.o/g} - -FSRCS= fortest.c fortestF.f forsupff.f forsupf.c \ - manf.f mgrf.f slabwf.f t24f.f tanf.f tanfilef.f tpf.f tr8f.f \ - tsdmmsf.f tsdnmmsf.f tsdnntf.f tsdntf.f tsdstrf.f tstubsf.f \ - tvsetf.f, tvattrf.f - -FOBJS = fortestF.o forsupff.o forsupf.o \ - manf.o mgrf.o slabwf.o t24f.o tanf.o tanfilef.o tpf.o tr8f.o \ - tsdmmsf.o tsdnmmsf.o tsdnntf.o tsdntf.o tsdstrf.o tstubsf.o \ - tvsetf.o tvattrf.o - -#CFORSUPSRCS = forsupf.c - -HDFLIB = ${.CURDIR}/../src -CFLAGS += -I${HDFLIB} -FFLAGS += ${CFLAGS} -Nn802 -Nx400 - -FTESTS = fortest fortestF - -all: testhdf $(FTESTS) gentest - -#CFORSUPOBJS = forsupf.o - -TESTF = fortest.o - -# directory used by extelt test. -TESTDIR = testdir - -$(FOBJS): fortest.inc - -test: atest-hdf - -atest-hdf: testhdf $(FTESTS) - -rm -f *.hdf - env LD_LIBRARY_PATH=${.CURDIR}/../src ./testhdf - -rm -f *.hdf - env LD_LIBRARY_PATH=${.CURDIR}/../src ./fortest - -testhdf: $(COBJS) $(HDFLIB)/libdf.so - $(CC) -o testhdf $(COBJS) $(HDFLIB)/libdf.so -lm - test -d $(TESTDIR) || mkdir $(TESTDIR) - -fortestF: $(FOBJS) $(HDFLIB)/libdf.so - $(FC) $(FFLAGS) -o $@ $(FOBJS) $(HDFLIB)/libdf.so -lm - -fortest: $(HDFLIB)/libdf.so fortest.c $(CHDRS) - $(CC) $(CFLAGS) -o fortest fortest.c $(HDFLIB)/libdf.so -lm - -gentest: gentest.c $(HDFLIB)/libdf.so - $(CC) $(CFLAGS) gentest.c -o gentest $(HDFLIB)/libdf.so -lm - -clean: - -rm -f $(COBJS) testhdf $(FOBJS) $(FTESTS) \ - core *.hdf ptesthdf qtesthdf gentest *.o fortest.arg $(TESTDIR)/* \ - .depend - -depend: - mkdep ${CFLAGS} ${CSRCS} - -install: diff --git a/science/hdf/files/hdf/util/Makefile b/science/hdf/files/hdf/util/Makefile deleted file mode 100644 index 6d4ccae200d4..000000000000 --- a/science/hdf/files/hdf/util/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# $FreeBSD$ - -UTILS = hdf24to8 hdfcomp hdfls hdfpack hdftopal hdftor8 paltohdf \ - r8tohdf ristosds vmake vshow hdf8to24 hdf2jpeg jpeg2hdf fp2hdf \ - hdfunpac vcompat - -all: ${UTILS} hdfed - -HEOBJ = he_main.o he_cntrl.o he_disp.o he_file.o - -#CFLAGS += -I${PREFIX}/include -I${.CURDIR}/../src/ -CFLAGS += -I${.CURDIR}/../src/ -#LDFLAGS += -L${PREFIX}/lib -ljpeg -L${.CURDIR}/../src/ -ldf -lz -LDFLAGS += -L${.CURDIR}/../src/ -ldf - -hdfed: he.h he_proto.h $(HEOBJ) - $(CC) $(HEOBJ) $(LDFLAGS) -o hdfed - -test: all fptest - env LD_LIBRARY_PATH=${.CURDIR}/../src ./testutil.sh - -clean: - -rm -f *.o $(UTILS) hdfed fptest - -rm -f o* ctx* cb* fptestf .depend - -depend: - mkdep ${CFLAGS} ${UTILS:S/$/.c/g} ${HEOBJ:S/.o/.c/g} - -install: all - install -c -s -o root -g wheel -m 555 ${UTILS} hdfed ${BINDIR} diff --git a/science/hdf/files/man/Makefile b/science/hdf/files/man/Makefile deleted file mode 100644 index eeea6c1997f7..000000000000 --- a/science/hdf/files/man/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -# $FreeBSD$ - -MANDIR = ${PREFIX}/man/man - -MAN1 = hdf.1 hdfunpac.1 -MAN3 = gr_chunk.3 - -.include <bsd.man.mk> - -install: all-man maninstall - -clean: - -rm -f *.gz - -all: all-man - -depend: diff --git a/science/hdf/files/mfhdf/Makefile b/science/hdf/files/mfhdf/Makefile deleted file mode 100644 index 202766e54f67..000000000000 --- a/science/hdf/files/mfhdf/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -# $FreeBSD$ - -SUBDIR = fortran libsrc ncgen ncdump nctest dumper - -.include <bsd.subdir.mk> - -test: all - @for d in ${SUBDIR} ; do \ - echo "===> testing in $$d"; \ - cd $$d; \ - ${MAKE} test; \ - cd ..; \ - done diff --git a/science/hdf/files/mfhdf/dumper/Makefile b/science/hdf/files/mfhdf/dumper/Makefile deleted file mode 100644 index 1bd8b3dfa744..000000000000 --- a/science/hdf/files/mfhdf/dumper/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -# $FreeBSD$ - -PROG = hdp -NOMAN = 1 -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf -CFLAGS += -I${.CURDIR}/../libsrc -I${.CURDIR}/../../hdf/src - -SRCS = hdp.c hdp_list.c hdp_sds.c hdp_util.c hdp_vd.c hdp_vg.c hdp_rig.c show.c hdp_dump.c hdp_gr.c - -.include <bsd.prog.mk> - -test: ${PROG} - env LD_LIBRARY_PATH=${.CURDIR}/../libsrc:${.CURDIR}/../../hdf/src sh testhdp.sh diff --git a/science/hdf/files/mfhdf/fortran/Makefile b/science/hdf/files/mfhdf/fortran/Makefile deleted file mode 100644 index 03571382ccc3..000000000000 --- a/science/hdf/files/mfhdf/fortran/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# $FreeBSD$ - -.PATH: ${.CURDIR} ${.CURDIR}/config - -all: - -NOMAN = 1 - -FFLAGS += ${CFLAGS} -DNDEBUG -Nn802 -Nx400 - -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf - -afterinstall: - install -c -o root -g wheel -m 444 config/netcdf-fbsd.inc \ - ${PREFIX}/include/netcdf.inc - -.include <bsd.prog.mk> - -ENVIR = env LD_LIBRARY_PATH=${.CURDIR}/../libsrc:${.CURDIR}/../../hdf/src - -CLEANFILES+= hdftest hdftest.o ftest ftest-fbsd.o - -config/netcdf.inc: - ln -s netcdf-fbsd.inc config/netcdf.inc - -ftest: ftest-fbsd.f config/netcdf.inc - ${MAKE} PROG=$@ SRCS=ftest-fbsd.f $@ - -hdftest: hdftest.f - ${MAKE} PROG=$@ SRCS=hdftest.f $@ - -test: ftest hdftest - mkdir -p testdir - # ================================ - # netCDF Fortran interface tests - # ================================ - ${ENVIR} ./ftest - ${ENVIR} ./hdftest > hdfout.new - @diff -Bb hdfout.new hdftst.sav && \ - echo "*** HDF-SD Fortran interface tests passed ***" || \ - (echo "*** HDF-SD Fortran interface tests failed ***"; \ - echo "The above differences are OK if small") diff --git a/science/hdf/files/mfhdf/libsrc/Makefile b/science/hdf/files/mfhdf/libsrc/Makefile deleted file mode 100644 index 092102faa53c..000000000000 --- a/science/hdf/files/mfhdf/libsrc/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# $FreeBSD$ - -.PATH: ${.CURDIR} ${.CURDIR}/../fortran/config ${.CURDIR}/../fortran - -SRCS = array.c attr.c cdf.c dim.c file.c iarray.c error.c \ - globdef.c putget.c putgetg.c sharray.c string.c var.c \ - hdfsds.c mfsd.c nssdc.c xdrposix.c \ - jackets-fbsd.c mfsdf.c mfsdff.f - -LIB = mfhdf -SHLIB_MAJOR = 2 -SHLIB_MINOR = 3 - -LIBDIR = ${PREFIX}/lib - -# uncomment the line below to avoid building static libraries -#INTERNALLIB = Yes -# comment out the line below to build the profile libs -NOPROFILE=yes - -CFLAGS += -DNDEBUG -DHDF -I${.CURDIR}/../../hdf/src -I${.CURDIR} -.if ${MACHINE_ARCH} == "i386" -CFLAGS += -DSWAP -.endif - -LDADD += -L${.CURDIR}/../../hdf/src -ldf -LDFLAGS += -L. -l${LIB} ${LDADD} - -afterinstall: - install -c -o root -g wheel -m 444 hdf2netcdf.h local_nc.h \ - mfhdf.h netcdf.h ${PREFIX}/include - -.include <bsd.lib.mk> - -test: ${SHLIB_NAME} cdftest hdftest - env LD_LIBRARY_PATH=${.CURDIR}:${.CURDIR}/../../hdf/src ./cdftest > cdfout.new - @diff cdfout.new testout.sav && \ - echo "*** netCDF passes formatted test ***" || \ - (echo "*** netCDF fails formatted test ***" ; \ - echo "The above differences are OK if small") - env LD_LIBRARY_PATH=${.CURDIR}:${.CURDIR}/../../hdf/src ./hdftest > hdfout.new - @diff hdfout.new hdfout.sav && \ - echo "*** HDF passes formatted test ***" || \ - (echo "*** HDF fails formatted test ***" ; \ - echo "The above differences are OK if small") diff --git a/science/hdf/files/mfhdf/ncdump/Makefile b/science/hdf/files/mfhdf/ncdump/Makefile deleted file mode 100644 index 727b1de60b32..000000000000 --- a/science/hdf/files/mfhdf/ncdump/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# $FreeBSD$ - -PROG = ncdump -MANDIR = ${PREFIX}/man/man - -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf -CFLAGS += -I${.CURDIR}/../libsrc -SRCS = ncdump.c vardata.c dumplib.c - -.include <bsd.prog.mk> - -ENVIR = env LD_LIBRARY_PATH=${.CURDIR}/../../hdf/src:${.CURDIR}/../libsrc -NCGEN = ${.CURDIR}/../ncgen/ncgen - -test: $(PROG) test0.cdl - ${ENVIR} $(NCGEN) -o test0.nc -n test0.cdl - ${ENVIR} ./$(PROG) test0.nc > test1.cdl - ${ENVIR} $(NCGEN) -o test1.nc -n test1.cdl - ${ENVIR} ./$(PROG) -n test0 test1.nc > test2.cdl - @cmp test1.cdl test2.cdl && \ - echo "*** $(PROGRAM) test successful ***" ; \ - rm test1.cdl test1.nc test2.cdl diff --git a/science/hdf/files/mfhdf/ncgen/Makefile b/science/hdf/files/mfhdf/ncgen/Makefile deleted file mode 100644 index d954137cffa8..000000000000 --- a/science/hdf/files/mfhdf/ncgen/Makefile +++ /dev/null @@ -1,72 +0,0 @@ -# $FreeBSD$ - -PROG = ncgen -MANDIR = ${PREFIX}/man/man -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf -CFLAGS += -I${.CURDIR}/../libsrc -I${.CURDIR}/../../hdf/src -DNDEBUG -SRCS = main.c generate.c load.c ncgentab.c escapes.c \ - getfill.c init.c close.c genlib.c - -ENVIR = env LD_LIBRARY_PATH=${.CURDIR}/../libsrc:${.CURDIR}/../../hdf/src -NCDUMP = ${.CURDIR}/../ncdump/ncdump - -test: $(PROG) test0.cdl btest ctest ftest - -ncgenyy.c: ncgen.l - ${LEX} ${LFLAGS} ncgen.l - mv lex.yy.c ncgenyy.c - -ncgentab.c: ncgenyy.c ncgen.y - ${YACC} ${YFLAGS} ncgen.y - mv y.tab.c ncgentab.c - mv y.tab.h ncgentab.h - -.include <bsd.prog.mk> - -# -# test "-b" option of ncgen -# -btest: $(PROG) test0.cdl test1.cdl - ${ENVIR} ./$(PROG) -b test1.cdl - ${ENVIR} $(NCDUMP) test1.nc > test2.cdl - @diff test1.cdl test2.cdl && \ - echo "*** $(PROG) -b test successful ***" - -# -# test "-c" option of ncgen -# -ctest: test1.cdl ctest0 - ${ENVIR} ./ctest0 # tests `-c' option, creates ctest0.nc - ${ENVIR} $(NCDUMP) -n test1 ctest0.nc > ctest1.cdl - @diff test1.cdl ctest1.cdl && \ - echo "*** $(PROG) -c test successful ***" - -ctest0: ncgen test0.cdl - ${ENVIR} ./$(PROG) -c -o ctest0.nc test0.cdl > test0.c - $(CC) $(CFLAGS) -o $@ test0.c ${LDFLAGS} - -# -# test "-f" option of ncgen -# -ftest: test1.cdl ftest0 - ${ENVIR} ./ftest0 - ${ENVIR} $(NCDUMP) -n test1 ftest0.nc > ftest1.cdl - @if diff test1.cdl ftest1.cdl; then \ - echo "*** ncgen -f test successful ***"; \ - else \ - echo "*** ncgen -f test failed " \ - "(but roundoff differences are OK) ***"; \ - fi - -ftest0: $(PROG) test0.cdl netcdf.inc - ${ENVIR} ./$(PROG) -f -o ftest0.nc test0.cdl > test0.f; \ - $(FC) $(FFLAGS) ${CFLAGS} -o $@ test0.f ${LDFLAGS} - -test1.cdl: test0.nc - ${ENVIR} $(NCDUMP) -n test1 test0.nc > $@ - -test0.nc: $(PROG) test0.cdl - ${ENVIR} ./$(PROG) -b -o test0.nc test0.cdl - -netcdf.inc: - ln -s ../fortran/config/netcdf-fbsd.inc $@ diff --git a/science/hdf/files/mfhdf/nctest/Makefile b/science/hdf/files/mfhdf/nctest/Makefile deleted file mode 100644 index 722d3524a482..000000000000 --- a/science/hdf/files/mfhdf/nctest/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# $FreeBSD$ - -PROG = nctest -NOMAN = 1 -CFLAGS += -I${.CURDIR}/../libsrc -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf -SRCS = varget.c vargetg.c varput.c varputg.c vardef.c vartests.c \ - vputget.c vputgetg.c driver.c cdftests.c dimtests.c rec.c \ - atttests.c misctest.c add.c error.c emalloc.c val.c slabs.c - -install: - -.include <bsd.prog.mk> - -test: $(PROG) - @ echo "===========================" - @ echo "netCDF C interface tests" - @ echo "===========================" - env LD_LIBRARY_PATH=${.CURDIR}/../libsrc:${.CURDIR}/../../hdf/src ./$(PROG) diff --git a/science/hdf/pkg-comment b/science/hdf/pkg-comment deleted file mode 100644 index 2f8affd569f0..000000000000 --- a/science/hdf/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Hierarchical Data Format library (from NCSA) diff --git a/science/hdf/pkg-descr b/science/hdf/pkg-descr deleted file mode 100644 index e34fb16bae11..000000000000 --- a/science/hdf/pkg-descr +++ /dev/null @@ -1,23 +0,0 @@ -From HDF's manpage: - - hdf - Hierarchical Data Format library - -Description: - HDF is a multi-object file format that facilitates the - transfer of various types of scientific data between - machines and operating systems. Machines currently sup- - ported include the Cray, Convex, HP, Vax, Sun, IBM - RS/6000, Silicon Graphics, Macintosh, and IBM PC comput- - ers. HDF allows self-definitions of data content and easy - extensibility for future enhancements or compatibility - with other standard formats. HDF includes Fortran and C - calling interfaces,and utilities to prepare raw image of - data files or for use with other NCSA software. The HDF - library contains interfaces for storing and retrieving - compressed or uncompressed 8-bit and 24-bit raster images - with palettes, n-Dimensional scientific datasets and - binary tables. An interface is also included that allows - arbitray grouping of other HDF objects. - - - -mi (mi@aldan.ziplink.net) diff --git a/science/hdf/pkg-plist b/science/hdf/pkg-plist deleted file mode 100644 index 6fef1499b816..000000000000 --- a/science/hdf/pkg-plist +++ /dev/null @@ -1,82 +0,0 @@ -bin/fp2hdf -bin/hdf24to8 -bin/hdf2jpeg -bin/hdf8to24 -bin/hdfcomp -bin/hdfed -bin/hdfls -bin/hdfpack -bin/hdftopal -bin/hdftor8 -bin/hdfunpac -bin/hdp -bin/jpeg2hdf -bin/ncdump -bin/ncgen -bin/paltohdf -bin/r8tohdf -bin/ristosds -bin/vcompat -bin/vmake -bin/vshow -include/atom.h -include/bitvect.h -include/cdeflate.h -include/cnbit.h -include/cnone.h -include/crle.h -include/cskphuff.h -include/df.h -include/dfan.h -include/dfconvrt.h -include/dffunc.inc -include/dfgr.h -include/dfi.h -include/dfivms.h -include/dfrig.h -include/dfsd.h -include/dfstubs.h -include/dfufp2i.h -include/dir_mac.h -include/dynarray.h -include/glist.h -include/hbitio.h -include/hchunks.h -include/hcomp.h -include/hcompi.h -include/hconv.h -include/hdf.h -include/hdf.inc -include/hdf2netcdf.h -include/hdfi.h -include/herr.h -include/hfile.h -include/hkit.h -include/hlimits.h -include/hntdefs.h -include/hproto.h -include/hqueue.h -include/htags.h -include/linklist.h -include/local_nc.h -include/maldebug.h -include/mcache.h -include/mfan.h -include/mfgr.h -include/mfhdf.h -include/mstdio.h -include/netcdf.h -include/netcdf.inc -include/patchlevel.h -include/sys_dir_mac.h -include/tbbt.h -include/trace.h -include/vattr.h -include/vg.h -include/vgint.h -lib/libdf.a -lib/libdf.so -lib/libdf.so.1 -lib/libmfhdf.a -lib/libmfhdf.so -lib/libmfhdf.so.2 diff --git a/science/hdf/scripts/post-patch b/science/hdf/scripts/post-patch deleted file mode 100644 index abb1fc2ea1fb..000000000000 --- a/science/hdf/scripts/post-patch +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^CFLAGS = -ansi -O"` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,1 +72,1 @@ --CFLAGS = -ansi -O -+#CFLAGS = -ansi -O -END_OF_PATCH -done -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIB_LIB = "` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,1 +72,1 @@ --ZLIB_LIB = \$(TOP_SRCDIR)/hdf/zlib/libz.a -+#ZLIB_LIB = \$(TOP_SRCDIR)/hdf/zlib/libz.a -END_OF_PATCH -done -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEG_LIB = "` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,1 +72,1 @@ --JPEG_LIB = \$(TOP_SRCDIR)/hdf/jpeg/libjpeg.a -+#JPEG_LIB = \$(TOP_SRCDIR)/hdf/jpeg/libjpeg.a -END_OF_PATCH -done -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --ZLIBINC=\$(srcdir)/../zlib --ZLIBLIB=\$(srcdir)/../zlib -+ZLIBINC=/usr/include -+ZLIBLIB=-lz \$(pwrkdir) -END_OF_PATCH -done - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --ZLIBLIB=\$(srcdir)/../zlib --ZLIBINC=\$(srcdir)/../zlib -+ZLIBLIB=-lz -+ZLIBINC=/usr/include -END_OF_PATCH -done - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --JPEGINC=\$(srcdir)/../jpeg --JPEGLIB=\$(srcdir)/../jpeg -+JPEGINC=\$(prefix)/include -+JPEGLIB=\$(prefix)/lib -END_OF_PATCH -done - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --JPEGLIB=\$(srcdir)/../jpeg --JPEGINC=\$(srcdir)/../jpeg -+JPEGLIB=\$(prefix)/lib -+JPEGINC=\$(prefix)/include -END_OF_PATCH -done diff --git a/science/hdf5-18/Makefile b/science/hdf5-18/Makefile deleted file mode 100644 index 1250fb6ec168..000000000000 --- a/science/hdf5-18/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# New ports collection makefile for: HDF_lib -# Date created: 17 November 1996 -# Whom: mi -# -# $FreeBSD$ -# - -PORTNAME= hdf -PORTVERSION= 4.1r3 -CATEGORIES= graphics -MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF4.1r3/tar/ -DISTNAME= HDF${PORTVERSION} - -MAINTAINER= mi@aldan.algebra.com - -LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg - -MAN1= hdf.1 hdfunpac.1 ncdump.1 ncgen.1 -MAN3= gr_chunk.3 -MANCOMPRESSED= maybe - -MAKE_ARGS= PREFIX="${PREFIX}" -j 2 - -post-patch: - ${RM} -rf ${WRKSRC}/hdf/jpeg - ${RM} -rf ${WRKSRC}/hdf/zlib - -do-configure: - ${CP} -rp ${FILESDIR}/Makefile ${FILESDIR}/hdf \ - ${FILESDIR}/mfhdf ${FILESDIR}/man ${WRKSRC} - ${LN} -s config/netcdf-fbsd.h ${WRKSRC}/mfhdf/libsrc/netcdf.h - ${LN} -s netcdf-fbsd.inc ${WRKSRC}/mfhdf/fortran/config/netcdf.inc - -test: build - cd ${WRKSRC}; ${MAKE} test - -.include <bsd.port.mk> diff --git a/science/hdf5-18/distinfo b/science/hdf5-18/distinfo deleted file mode 100644 index 6e22d24afd1e..000000000000 --- a/science/hdf5-18/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (HDF4.1r3.tar.gz) = 975f84ad8c5910841995c9d339fbd8bb diff --git a/science/hdf5-18/files/Makefile b/science/hdf5-18/files/Makefile deleted file mode 100644 index 0dc23c19cf80..000000000000 --- a/science/hdf5-18/files/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -# $FreeBSD$ - -SUBDIR = hdf mfhdf man -#PREFIX ?= /usr/local -LIBDIR ?= ${PREFIX}/lib -BINDIR ?= ${PREFIX}/bin - -.MAKEFLAGS: PREFIX=${PREFIX} LIBDIR=${LIBDIR} BINDIR=${BINDIR} - -test: all - # testing in hdf - @cd hdf && ${MAKE} hdf-test - # testing in mfhdf - @cd mfhdf && ${MAKE} test - -.include <bsd.subdir.mk> diff --git a/science/hdf5-18/files/hdf/Makefile b/science/hdf5-18/files/hdf/Makefile deleted file mode 100644 index 1f9663c03246..000000000000 --- a/science/hdf5-18/files/hdf/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD$ - -SUBDIR = src util test - -hdf-test: all - cd util && ${MAKE} test - cd test && ${MAKE} test - -.include <bsd.subdir.mk> diff --git a/science/hdf5-18/files/hdf/src/Makefile b/science/hdf5-18/files/hdf/src/Makefile deleted file mode 100644 index 391a70281060..000000000000 --- a/science/hdf5-18/files/hdf/src/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -# $FreeBSD$ - -LIB=df - -# uncomment the line below to avoid building static libraries -#INTERNALLIB=YES -LIBDIR=${PREFIX}/lib -# comment out the line below to build the profile libs -NOPROFILE=yes - -SHLIB_MAJOR=1 -SHLIB_MINOR=0 - -SRCS=atom.c bitvect.c cdeflate.c cnbit.c cnone.c crle.c cskphuff.c \ - df24.c df24f.c dfan.c dfanf.c dfcomp.c dfconv.c dff.c dfgr.c \ - dfgroup.c dfimcomp.c dfjpeg.c dfkconv.c dfkcray.c dfkfuji.c \ - dfknat.c dfkswap.c dfkvms.c dfp.c dfpf.c dfr8.c dfr8f.c dfrle.c \ - dfsd.c dfsdf.c dfstubs.c dfufp2i.c dfunjpeg.c dfutil.c dfutilf.c \ - dir_mac.c dynarray.c glist.c hbitio.c hblocks.c hbuffer.c \ - hchunks.c hcomp.c hcompri.c hdfalloc.c herr.c herrf.c hextelt.c \ - hfile.c hfiledd.c hfilef.c hkit.c linklist.c mcache.c \ - mfan.c mfanf.c mfgr.c mfgrf.c mstdio.c tbbt.c vattr.c vattrf.c \ - vconv.c vg.c vgf.c vgp.c vhi.c vio.c vparse.c vrw.c vsfld.c \ - df24ff.f dfanff.f dfff.f dfpff.f dfr8ff.f dfsdff.f dfufp2if.f \ - hfileff.f mfgrff.f vattrff.f vgff.f - -CFLAGS += -I${PREFIX}/include -FFLAGS += ${CFLAGS} - -.if !defined(OSVERSION) -.if exists(/sbin/sysctl) -OSVERSION!= /sbin/sysctl -n kern.osreldate -.else -OSVERSION!= /usr/sbin/sysctl -n kern.osreldate -.endif -.endif - -.if ${OSVERSION} >= 400004 -LDADD += -L${PREFIX}/lib -ljpeg -lg2c -lz -lm -.else -LDADD += -L${PREFIX}/lib -ljpeg -lf2c -lz -.endif - -afterinstall: - install -c -o root -g wheel -m 444 \ - atom.h bitvect.h cdeflate.h cnbit.h cnone.h crle.h \ - cskphuff.h df.h dfan.h dfconvrt.h dfgr.h dfi.h dfivms.h \ - dfrig.h dfsd.h dfstubs.h dfufp2i.h dir_mac.h dynarray.h \ - glist.h hbitio.h hchunks.h hcomp.h hcompi.h hconv.h \ - hdf.h hdfi.h herr.h hfile.h hkit.h hlimits.h hntdefs.h \ - hproto.h hqueue.h htags.h linklist.h maldebug.h mcache.h \ - mfan.h mfgr.h mstdio.h patchlevel.h sys_dir_mac.h tbbt.h \ - trace.h vattr.h vg.h vgint.h hdf.inc dffunc.inc \ - ${PREFIX}/include - -.include <bsd.lib.mk> diff --git a/science/hdf5-18/files/hdf/test/Makefile b/science/hdf5-18/files/hdf/test/Makefile deleted file mode 100644 index 3a3c8ca98524..000000000000 --- a/science/hdf5-18/files/hdf/test/Makefile +++ /dev/null @@ -1,68 +0,0 @@ -# $FreeBSD$ - -CSRCS= rig.c sdstr.c blocks.c an.c anfile.c extelt.c file.c file1.c vers.c \ - sdmms.c sdnmms.c slab.c litend.c tvset.c comp.c bitio.c tree.c macros.c \ - conv.c nbit.c man.c mgr.c testhdf.c tbv.c tvsfpack.c chunks.c tvattr.c \ - buffer.c - -COBJS= ${CSRCS:S/.c/.o/g} - -FSRCS= fortest.c fortestF.f forsupff.f forsupf.c \ - manf.f mgrf.f slabwf.f t24f.f tanf.f tanfilef.f tpf.f tr8f.f \ - tsdmmsf.f tsdnmmsf.f tsdnntf.f tsdntf.f tsdstrf.f tstubsf.f \ - tvsetf.f, tvattrf.f - -FOBJS = fortestF.o forsupff.o forsupf.o \ - manf.o mgrf.o slabwf.o t24f.o tanf.o tanfilef.o tpf.o tr8f.o \ - tsdmmsf.o tsdnmmsf.o tsdnntf.o tsdntf.o tsdstrf.o tstubsf.o \ - tvsetf.o tvattrf.o - -#CFORSUPSRCS = forsupf.c - -HDFLIB = ${.CURDIR}/../src -CFLAGS += -I${HDFLIB} -FFLAGS += ${CFLAGS} -Nn802 -Nx400 - -FTESTS = fortest fortestF - -all: testhdf $(FTESTS) gentest - -#CFORSUPOBJS = forsupf.o - -TESTF = fortest.o - -# directory used by extelt test. -TESTDIR = testdir - -$(FOBJS): fortest.inc - -test: atest-hdf - -atest-hdf: testhdf $(FTESTS) - -rm -f *.hdf - env LD_LIBRARY_PATH=${.CURDIR}/../src ./testhdf - -rm -f *.hdf - env LD_LIBRARY_PATH=${.CURDIR}/../src ./fortest - -testhdf: $(COBJS) $(HDFLIB)/libdf.so - $(CC) -o testhdf $(COBJS) $(HDFLIB)/libdf.so -lm - test -d $(TESTDIR) || mkdir $(TESTDIR) - -fortestF: $(FOBJS) $(HDFLIB)/libdf.so - $(FC) $(FFLAGS) -o $@ $(FOBJS) $(HDFLIB)/libdf.so -lm - -fortest: $(HDFLIB)/libdf.so fortest.c $(CHDRS) - $(CC) $(CFLAGS) -o fortest fortest.c $(HDFLIB)/libdf.so -lm - -gentest: gentest.c $(HDFLIB)/libdf.so - $(CC) $(CFLAGS) gentest.c -o gentest $(HDFLIB)/libdf.so -lm - -clean: - -rm -f $(COBJS) testhdf $(FOBJS) $(FTESTS) \ - core *.hdf ptesthdf qtesthdf gentest *.o fortest.arg $(TESTDIR)/* \ - .depend - -depend: - mkdep ${CFLAGS} ${CSRCS} - -install: diff --git a/science/hdf5-18/files/hdf/util/Makefile b/science/hdf5-18/files/hdf/util/Makefile deleted file mode 100644 index 6d4ccae200d4..000000000000 --- a/science/hdf5-18/files/hdf/util/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# $FreeBSD$ - -UTILS = hdf24to8 hdfcomp hdfls hdfpack hdftopal hdftor8 paltohdf \ - r8tohdf ristosds vmake vshow hdf8to24 hdf2jpeg jpeg2hdf fp2hdf \ - hdfunpac vcompat - -all: ${UTILS} hdfed - -HEOBJ = he_main.o he_cntrl.o he_disp.o he_file.o - -#CFLAGS += -I${PREFIX}/include -I${.CURDIR}/../src/ -CFLAGS += -I${.CURDIR}/../src/ -#LDFLAGS += -L${PREFIX}/lib -ljpeg -L${.CURDIR}/../src/ -ldf -lz -LDFLAGS += -L${.CURDIR}/../src/ -ldf - -hdfed: he.h he_proto.h $(HEOBJ) - $(CC) $(HEOBJ) $(LDFLAGS) -o hdfed - -test: all fptest - env LD_LIBRARY_PATH=${.CURDIR}/../src ./testutil.sh - -clean: - -rm -f *.o $(UTILS) hdfed fptest - -rm -f o* ctx* cb* fptestf .depend - -depend: - mkdep ${CFLAGS} ${UTILS:S/$/.c/g} ${HEOBJ:S/.o/.c/g} - -install: all - install -c -s -o root -g wheel -m 555 ${UTILS} hdfed ${BINDIR} diff --git a/science/hdf5-18/files/man/Makefile b/science/hdf5-18/files/man/Makefile deleted file mode 100644 index eeea6c1997f7..000000000000 --- a/science/hdf5-18/files/man/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -# $FreeBSD$ - -MANDIR = ${PREFIX}/man/man - -MAN1 = hdf.1 hdfunpac.1 -MAN3 = gr_chunk.3 - -.include <bsd.man.mk> - -install: all-man maninstall - -clean: - -rm -f *.gz - -all: all-man - -depend: diff --git a/science/hdf5-18/files/mfhdf/Makefile b/science/hdf5-18/files/mfhdf/Makefile deleted file mode 100644 index 202766e54f67..000000000000 --- a/science/hdf5-18/files/mfhdf/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -# $FreeBSD$ - -SUBDIR = fortran libsrc ncgen ncdump nctest dumper - -.include <bsd.subdir.mk> - -test: all - @for d in ${SUBDIR} ; do \ - echo "===> testing in $$d"; \ - cd $$d; \ - ${MAKE} test; \ - cd ..; \ - done diff --git a/science/hdf5-18/files/mfhdf/dumper/Makefile b/science/hdf5-18/files/mfhdf/dumper/Makefile deleted file mode 100644 index 1bd8b3dfa744..000000000000 --- a/science/hdf5-18/files/mfhdf/dumper/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -# $FreeBSD$ - -PROG = hdp -NOMAN = 1 -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf -CFLAGS += -I${.CURDIR}/../libsrc -I${.CURDIR}/../../hdf/src - -SRCS = hdp.c hdp_list.c hdp_sds.c hdp_util.c hdp_vd.c hdp_vg.c hdp_rig.c show.c hdp_dump.c hdp_gr.c - -.include <bsd.prog.mk> - -test: ${PROG} - env LD_LIBRARY_PATH=${.CURDIR}/../libsrc:${.CURDIR}/../../hdf/src sh testhdp.sh diff --git a/science/hdf5-18/files/mfhdf/fortran/Makefile b/science/hdf5-18/files/mfhdf/fortran/Makefile deleted file mode 100644 index 03571382ccc3..000000000000 --- a/science/hdf5-18/files/mfhdf/fortran/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# $FreeBSD$ - -.PATH: ${.CURDIR} ${.CURDIR}/config - -all: - -NOMAN = 1 - -FFLAGS += ${CFLAGS} -DNDEBUG -Nn802 -Nx400 - -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf - -afterinstall: - install -c -o root -g wheel -m 444 config/netcdf-fbsd.inc \ - ${PREFIX}/include/netcdf.inc - -.include <bsd.prog.mk> - -ENVIR = env LD_LIBRARY_PATH=${.CURDIR}/../libsrc:${.CURDIR}/../../hdf/src - -CLEANFILES+= hdftest hdftest.o ftest ftest-fbsd.o - -config/netcdf.inc: - ln -s netcdf-fbsd.inc config/netcdf.inc - -ftest: ftest-fbsd.f config/netcdf.inc - ${MAKE} PROG=$@ SRCS=ftest-fbsd.f $@ - -hdftest: hdftest.f - ${MAKE} PROG=$@ SRCS=hdftest.f $@ - -test: ftest hdftest - mkdir -p testdir - # ================================ - # netCDF Fortran interface tests - # ================================ - ${ENVIR} ./ftest - ${ENVIR} ./hdftest > hdfout.new - @diff -Bb hdfout.new hdftst.sav && \ - echo "*** HDF-SD Fortran interface tests passed ***" || \ - (echo "*** HDF-SD Fortran interface tests failed ***"; \ - echo "The above differences are OK if small") diff --git a/science/hdf5-18/files/mfhdf/libsrc/Makefile b/science/hdf5-18/files/mfhdf/libsrc/Makefile deleted file mode 100644 index 092102faa53c..000000000000 --- a/science/hdf5-18/files/mfhdf/libsrc/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# $FreeBSD$ - -.PATH: ${.CURDIR} ${.CURDIR}/../fortran/config ${.CURDIR}/../fortran - -SRCS = array.c attr.c cdf.c dim.c file.c iarray.c error.c \ - globdef.c putget.c putgetg.c sharray.c string.c var.c \ - hdfsds.c mfsd.c nssdc.c xdrposix.c \ - jackets-fbsd.c mfsdf.c mfsdff.f - -LIB = mfhdf -SHLIB_MAJOR = 2 -SHLIB_MINOR = 3 - -LIBDIR = ${PREFIX}/lib - -# uncomment the line below to avoid building static libraries -#INTERNALLIB = Yes -# comment out the line below to build the profile libs -NOPROFILE=yes - -CFLAGS += -DNDEBUG -DHDF -I${.CURDIR}/../../hdf/src -I${.CURDIR} -.if ${MACHINE_ARCH} == "i386" -CFLAGS += -DSWAP -.endif - -LDADD += -L${.CURDIR}/../../hdf/src -ldf -LDFLAGS += -L. -l${LIB} ${LDADD} - -afterinstall: - install -c -o root -g wheel -m 444 hdf2netcdf.h local_nc.h \ - mfhdf.h netcdf.h ${PREFIX}/include - -.include <bsd.lib.mk> - -test: ${SHLIB_NAME} cdftest hdftest - env LD_LIBRARY_PATH=${.CURDIR}:${.CURDIR}/../../hdf/src ./cdftest > cdfout.new - @diff cdfout.new testout.sav && \ - echo "*** netCDF passes formatted test ***" || \ - (echo "*** netCDF fails formatted test ***" ; \ - echo "The above differences are OK if small") - env LD_LIBRARY_PATH=${.CURDIR}:${.CURDIR}/../../hdf/src ./hdftest > hdfout.new - @diff hdfout.new hdfout.sav && \ - echo "*** HDF passes formatted test ***" || \ - (echo "*** HDF fails formatted test ***" ; \ - echo "The above differences are OK if small") diff --git a/science/hdf5-18/files/mfhdf/ncdump/Makefile b/science/hdf5-18/files/mfhdf/ncdump/Makefile deleted file mode 100644 index 727b1de60b32..000000000000 --- a/science/hdf5-18/files/mfhdf/ncdump/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# $FreeBSD$ - -PROG = ncdump -MANDIR = ${PREFIX}/man/man - -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf -CFLAGS += -I${.CURDIR}/../libsrc -SRCS = ncdump.c vardata.c dumplib.c - -.include <bsd.prog.mk> - -ENVIR = env LD_LIBRARY_PATH=${.CURDIR}/../../hdf/src:${.CURDIR}/../libsrc -NCGEN = ${.CURDIR}/../ncgen/ncgen - -test: $(PROG) test0.cdl - ${ENVIR} $(NCGEN) -o test0.nc -n test0.cdl - ${ENVIR} ./$(PROG) test0.nc > test1.cdl - ${ENVIR} $(NCGEN) -o test1.nc -n test1.cdl - ${ENVIR} ./$(PROG) -n test0 test1.nc > test2.cdl - @cmp test1.cdl test2.cdl && \ - echo "*** $(PROGRAM) test successful ***" ; \ - rm test1.cdl test1.nc test2.cdl diff --git a/science/hdf5-18/files/mfhdf/ncgen/Makefile b/science/hdf5-18/files/mfhdf/ncgen/Makefile deleted file mode 100644 index d954137cffa8..000000000000 --- a/science/hdf5-18/files/mfhdf/ncgen/Makefile +++ /dev/null @@ -1,72 +0,0 @@ -# $FreeBSD$ - -PROG = ncgen -MANDIR = ${PREFIX}/man/man -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf -CFLAGS += -I${.CURDIR}/../libsrc -I${.CURDIR}/../../hdf/src -DNDEBUG -SRCS = main.c generate.c load.c ncgentab.c escapes.c \ - getfill.c init.c close.c genlib.c - -ENVIR = env LD_LIBRARY_PATH=${.CURDIR}/../libsrc:${.CURDIR}/../../hdf/src -NCDUMP = ${.CURDIR}/../ncdump/ncdump - -test: $(PROG) test0.cdl btest ctest ftest - -ncgenyy.c: ncgen.l - ${LEX} ${LFLAGS} ncgen.l - mv lex.yy.c ncgenyy.c - -ncgentab.c: ncgenyy.c ncgen.y - ${YACC} ${YFLAGS} ncgen.y - mv y.tab.c ncgentab.c - mv y.tab.h ncgentab.h - -.include <bsd.prog.mk> - -# -# test "-b" option of ncgen -# -btest: $(PROG) test0.cdl test1.cdl - ${ENVIR} ./$(PROG) -b test1.cdl - ${ENVIR} $(NCDUMP) test1.nc > test2.cdl - @diff test1.cdl test2.cdl && \ - echo "*** $(PROG) -b test successful ***" - -# -# test "-c" option of ncgen -# -ctest: test1.cdl ctest0 - ${ENVIR} ./ctest0 # tests `-c' option, creates ctest0.nc - ${ENVIR} $(NCDUMP) -n test1 ctest0.nc > ctest1.cdl - @diff test1.cdl ctest1.cdl && \ - echo "*** $(PROG) -c test successful ***" - -ctest0: ncgen test0.cdl - ${ENVIR} ./$(PROG) -c -o ctest0.nc test0.cdl > test0.c - $(CC) $(CFLAGS) -o $@ test0.c ${LDFLAGS} - -# -# test "-f" option of ncgen -# -ftest: test1.cdl ftest0 - ${ENVIR} ./ftest0 - ${ENVIR} $(NCDUMP) -n test1 ftest0.nc > ftest1.cdl - @if diff test1.cdl ftest1.cdl; then \ - echo "*** ncgen -f test successful ***"; \ - else \ - echo "*** ncgen -f test failed " \ - "(but roundoff differences are OK) ***"; \ - fi - -ftest0: $(PROG) test0.cdl netcdf.inc - ${ENVIR} ./$(PROG) -f -o ftest0.nc test0.cdl > test0.f; \ - $(FC) $(FFLAGS) ${CFLAGS} -o $@ test0.f ${LDFLAGS} - -test1.cdl: test0.nc - ${ENVIR} $(NCDUMP) -n test1 test0.nc > $@ - -test0.nc: $(PROG) test0.cdl - ${ENVIR} ./$(PROG) -b -o test0.nc test0.cdl - -netcdf.inc: - ln -s ../fortran/config/netcdf-fbsd.inc $@ diff --git a/science/hdf5-18/files/mfhdf/nctest/Makefile b/science/hdf5-18/files/mfhdf/nctest/Makefile deleted file mode 100644 index 722d3524a482..000000000000 --- a/science/hdf5-18/files/mfhdf/nctest/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# $FreeBSD$ - -PROG = nctest -NOMAN = 1 -CFLAGS += -I${.CURDIR}/../libsrc -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf -SRCS = varget.c vargetg.c varput.c varputg.c vardef.c vartests.c \ - vputget.c vputgetg.c driver.c cdftests.c dimtests.c rec.c \ - atttests.c misctest.c add.c error.c emalloc.c val.c slabs.c - -install: - -.include <bsd.prog.mk> - -test: $(PROG) - @ echo "===========================" - @ echo "netCDF C interface tests" - @ echo "===========================" - env LD_LIBRARY_PATH=${.CURDIR}/../libsrc:${.CURDIR}/../../hdf/src ./$(PROG) diff --git a/science/hdf5-18/pkg-comment b/science/hdf5-18/pkg-comment deleted file mode 100644 index 2f8affd569f0..000000000000 --- a/science/hdf5-18/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Hierarchical Data Format library (from NCSA) diff --git a/science/hdf5-18/pkg-descr b/science/hdf5-18/pkg-descr deleted file mode 100644 index e34fb16bae11..000000000000 --- a/science/hdf5-18/pkg-descr +++ /dev/null @@ -1,23 +0,0 @@ -From HDF's manpage: - - hdf - Hierarchical Data Format library - -Description: - HDF is a multi-object file format that facilitates the - transfer of various types of scientific data between - machines and operating systems. Machines currently sup- - ported include the Cray, Convex, HP, Vax, Sun, IBM - RS/6000, Silicon Graphics, Macintosh, and IBM PC comput- - ers. HDF allows self-definitions of data content and easy - extensibility for future enhancements or compatibility - with other standard formats. HDF includes Fortran and C - calling interfaces,and utilities to prepare raw image of - data files or for use with other NCSA software. The HDF - library contains interfaces for storing and retrieving - compressed or uncompressed 8-bit and 24-bit raster images - with palettes, n-Dimensional scientific datasets and - binary tables. An interface is also included that allows - arbitray grouping of other HDF objects. - - - -mi (mi@aldan.ziplink.net) diff --git a/science/hdf5-18/pkg-plist b/science/hdf5-18/pkg-plist deleted file mode 100644 index 6fef1499b816..000000000000 --- a/science/hdf5-18/pkg-plist +++ /dev/null @@ -1,82 +0,0 @@ -bin/fp2hdf -bin/hdf24to8 -bin/hdf2jpeg -bin/hdf8to24 -bin/hdfcomp -bin/hdfed -bin/hdfls -bin/hdfpack -bin/hdftopal -bin/hdftor8 -bin/hdfunpac -bin/hdp -bin/jpeg2hdf -bin/ncdump -bin/ncgen -bin/paltohdf -bin/r8tohdf -bin/ristosds -bin/vcompat -bin/vmake -bin/vshow -include/atom.h -include/bitvect.h -include/cdeflate.h -include/cnbit.h -include/cnone.h -include/crle.h -include/cskphuff.h -include/df.h -include/dfan.h -include/dfconvrt.h -include/dffunc.inc -include/dfgr.h -include/dfi.h -include/dfivms.h -include/dfrig.h -include/dfsd.h -include/dfstubs.h -include/dfufp2i.h -include/dir_mac.h -include/dynarray.h -include/glist.h -include/hbitio.h -include/hchunks.h -include/hcomp.h -include/hcompi.h -include/hconv.h -include/hdf.h -include/hdf.inc -include/hdf2netcdf.h -include/hdfi.h -include/herr.h -include/hfile.h -include/hkit.h -include/hlimits.h -include/hntdefs.h -include/hproto.h -include/hqueue.h -include/htags.h -include/linklist.h -include/local_nc.h -include/maldebug.h -include/mcache.h -include/mfan.h -include/mfgr.h -include/mfhdf.h -include/mstdio.h -include/netcdf.h -include/netcdf.inc -include/patchlevel.h -include/sys_dir_mac.h -include/tbbt.h -include/trace.h -include/vattr.h -include/vg.h -include/vgint.h -lib/libdf.a -lib/libdf.so -lib/libdf.so.1 -lib/libmfhdf.a -lib/libmfhdf.so -lib/libmfhdf.so.2 diff --git a/science/hdf5-18/scripts/post-patch b/science/hdf5-18/scripts/post-patch deleted file mode 100644 index abb1fc2ea1fb..000000000000 --- a/science/hdf5-18/scripts/post-patch +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^CFLAGS = -ansi -O"` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,1 +72,1 @@ --CFLAGS = -ansi -O -+#CFLAGS = -ansi -O -END_OF_PATCH -done -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIB_LIB = "` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,1 +72,1 @@ --ZLIB_LIB = \$(TOP_SRCDIR)/hdf/zlib/libz.a -+#ZLIB_LIB = \$(TOP_SRCDIR)/hdf/zlib/libz.a -END_OF_PATCH -done -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEG_LIB = "` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,1 +72,1 @@ --JPEG_LIB = \$(TOP_SRCDIR)/hdf/jpeg/libjpeg.a -+#JPEG_LIB = \$(TOP_SRCDIR)/hdf/jpeg/libjpeg.a -END_OF_PATCH -done -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --ZLIBINC=\$(srcdir)/../zlib --ZLIBLIB=\$(srcdir)/../zlib -+ZLIBINC=/usr/include -+ZLIBLIB=-lz \$(pwrkdir) -END_OF_PATCH -done - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --ZLIBLIB=\$(srcdir)/../zlib --ZLIBINC=\$(srcdir)/../zlib -+ZLIBLIB=-lz -+ZLIBINC=/usr/include -END_OF_PATCH -done - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --JPEGINC=\$(srcdir)/../jpeg --JPEGLIB=\$(srcdir)/../jpeg -+JPEGINC=\$(prefix)/include -+JPEGLIB=\$(prefix)/lib -END_OF_PATCH -done - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --JPEGLIB=\$(srcdir)/../jpeg --JPEGINC=\$(srcdir)/../jpeg -+JPEGLIB=\$(prefix)/lib -+JPEGINC=\$(prefix)/include -END_OF_PATCH -done diff --git a/science/hdf5/Makefile b/science/hdf5/Makefile deleted file mode 100644 index 1250fb6ec168..000000000000 --- a/science/hdf5/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# New ports collection makefile for: HDF_lib -# Date created: 17 November 1996 -# Whom: mi -# -# $FreeBSD$ -# - -PORTNAME= hdf -PORTVERSION= 4.1r3 -CATEGORIES= graphics -MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF4.1r3/tar/ -DISTNAME= HDF${PORTVERSION} - -MAINTAINER= mi@aldan.algebra.com - -LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg - -MAN1= hdf.1 hdfunpac.1 ncdump.1 ncgen.1 -MAN3= gr_chunk.3 -MANCOMPRESSED= maybe - -MAKE_ARGS= PREFIX="${PREFIX}" -j 2 - -post-patch: - ${RM} -rf ${WRKSRC}/hdf/jpeg - ${RM} -rf ${WRKSRC}/hdf/zlib - -do-configure: - ${CP} -rp ${FILESDIR}/Makefile ${FILESDIR}/hdf \ - ${FILESDIR}/mfhdf ${FILESDIR}/man ${WRKSRC} - ${LN} -s config/netcdf-fbsd.h ${WRKSRC}/mfhdf/libsrc/netcdf.h - ${LN} -s netcdf-fbsd.inc ${WRKSRC}/mfhdf/fortran/config/netcdf.inc - -test: build - cd ${WRKSRC}; ${MAKE} test - -.include <bsd.port.mk> diff --git a/science/hdf5/distinfo b/science/hdf5/distinfo deleted file mode 100644 index 6e22d24afd1e..000000000000 --- a/science/hdf5/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (HDF4.1r3.tar.gz) = 975f84ad8c5910841995c9d339fbd8bb diff --git a/science/hdf5/files/Makefile b/science/hdf5/files/Makefile deleted file mode 100644 index 0dc23c19cf80..000000000000 --- a/science/hdf5/files/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -# $FreeBSD$ - -SUBDIR = hdf mfhdf man -#PREFIX ?= /usr/local -LIBDIR ?= ${PREFIX}/lib -BINDIR ?= ${PREFIX}/bin - -.MAKEFLAGS: PREFIX=${PREFIX} LIBDIR=${LIBDIR} BINDIR=${BINDIR} - -test: all - # testing in hdf - @cd hdf && ${MAKE} hdf-test - # testing in mfhdf - @cd mfhdf && ${MAKE} test - -.include <bsd.subdir.mk> diff --git a/science/hdf5/files/hdf/Makefile b/science/hdf5/files/hdf/Makefile deleted file mode 100644 index 1f9663c03246..000000000000 --- a/science/hdf5/files/hdf/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD$ - -SUBDIR = src util test - -hdf-test: all - cd util && ${MAKE} test - cd test && ${MAKE} test - -.include <bsd.subdir.mk> diff --git a/science/hdf5/files/hdf/src/Makefile b/science/hdf5/files/hdf/src/Makefile deleted file mode 100644 index 391a70281060..000000000000 --- a/science/hdf5/files/hdf/src/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -# $FreeBSD$ - -LIB=df - -# uncomment the line below to avoid building static libraries -#INTERNALLIB=YES -LIBDIR=${PREFIX}/lib -# comment out the line below to build the profile libs -NOPROFILE=yes - -SHLIB_MAJOR=1 -SHLIB_MINOR=0 - -SRCS=atom.c bitvect.c cdeflate.c cnbit.c cnone.c crle.c cskphuff.c \ - df24.c df24f.c dfan.c dfanf.c dfcomp.c dfconv.c dff.c dfgr.c \ - dfgroup.c dfimcomp.c dfjpeg.c dfkconv.c dfkcray.c dfkfuji.c \ - dfknat.c dfkswap.c dfkvms.c dfp.c dfpf.c dfr8.c dfr8f.c dfrle.c \ - dfsd.c dfsdf.c dfstubs.c dfufp2i.c dfunjpeg.c dfutil.c dfutilf.c \ - dir_mac.c dynarray.c glist.c hbitio.c hblocks.c hbuffer.c \ - hchunks.c hcomp.c hcompri.c hdfalloc.c herr.c herrf.c hextelt.c \ - hfile.c hfiledd.c hfilef.c hkit.c linklist.c mcache.c \ - mfan.c mfanf.c mfgr.c mfgrf.c mstdio.c tbbt.c vattr.c vattrf.c \ - vconv.c vg.c vgf.c vgp.c vhi.c vio.c vparse.c vrw.c vsfld.c \ - df24ff.f dfanff.f dfff.f dfpff.f dfr8ff.f dfsdff.f dfufp2if.f \ - hfileff.f mfgrff.f vattrff.f vgff.f - -CFLAGS += -I${PREFIX}/include -FFLAGS += ${CFLAGS} - -.if !defined(OSVERSION) -.if exists(/sbin/sysctl) -OSVERSION!= /sbin/sysctl -n kern.osreldate -.else -OSVERSION!= /usr/sbin/sysctl -n kern.osreldate -.endif -.endif - -.if ${OSVERSION} >= 400004 -LDADD += -L${PREFIX}/lib -ljpeg -lg2c -lz -lm -.else -LDADD += -L${PREFIX}/lib -ljpeg -lf2c -lz -.endif - -afterinstall: - install -c -o root -g wheel -m 444 \ - atom.h bitvect.h cdeflate.h cnbit.h cnone.h crle.h \ - cskphuff.h df.h dfan.h dfconvrt.h dfgr.h dfi.h dfivms.h \ - dfrig.h dfsd.h dfstubs.h dfufp2i.h dir_mac.h dynarray.h \ - glist.h hbitio.h hchunks.h hcomp.h hcompi.h hconv.h \ - hdf.h hdfi.h herr.h hfile.h hkit.h hlimits.h hntdefs.h \ - hproto.h hqueue.h htags.h linklist.h maldebug.h mcache.h \ - mfan.h mfgr.h mstdio.h patchlevel.h sys_dir_mac.h tbbt.h \ - trace.h vattr.h vg.h vgint.h hdf.inc dffunc.inc \ - ${PREFIX}/include - -.include <bsd.lib.mk> diff --git a/science/hdf5/files/hdf/test/Makefile b/science/hdf5/files/hdf/test/Makefile deleted file mode 100644 index 3a3c8ca98524..000000000000 --- a/science/hdf5/files/hdf/test/Makefile +++ /dev/null @@ -1,68 +0,0 @@ -# $FreeBSD$ - -CSRCS= rig.c sdstr.c blocks.c an.c anfile.c extelt.c file.c file1.c vers.c \ - sdmms.c sdnmms.c slab.c litend.c tvset.c comp.c bitio.c tree.c macros.c \ - conv.c nbit.c man.c mgr.c testhdf.c tbv.c tvsfpack.c chunks.c tvattr.c \ - buffer.c - -COBJS= ${CSRCS:S/.c/.o/g} - -FSRCS= fortest.c fortestF.f forsupff.f forsupf.c \ - manf.f mgrf.f slabwf.f t24f.f tanf.f tanfilef.f tpf.f tr8f.f \ - tsdmmsf.f tsdnmmsf.f tsdnntf.f tsdntf.f tsdstrf.f tstubsf.f \ - tvsetf.f, tvattrf.f - -FOBJS = fortestF.o forsupff.o forsupf.o \ - manf.o mgrf.o slabwf.o t24f.o tanf.o tanfilef.o tpf.o tr8f.o \ - tsdmmsf.o tsdnmmsf.o tsdnntf.o tsdntf.o tsdstrf.o tstubsf.o \ - tvsetf.o tvattrf.o - -#CFORSUPSRCS = forsupf.c - -HDFLIB = ${.CURDIR}/../src -CFLAGS += -I${HDFLIB} -FFLAGS += ${CFLAGS} -Nn802 -Nx400 - -FTESTS = fortest fortestF - -all: testhdf $(FTESTS) gentest - -#CFORSUPOBJS = forsupf.o - -TESTF = fortest.o - -# directory used by extelt test. -TESTDIR = testdir - -$(FOBJS): fortest.inc - -test: atest-hdf - -atest-hdf: testhdf $(FTESTS) - -rm -f *.hdf - env LD_LIBRARY_PATH=${.CURDIR}/../src ./testhdf - -rm -f *.hdf - env LD_LIBRARY_PATH=${.CURDIR}/../src ./fortest - -testhdf: $(COBJS) $(HDFLIB)/libdf.so - $(CC) -o testhdf $(COBJS) $(HDFLIB)/libdf.so -lm - test -d $(TESTDIR) || mkdir $(TESTDIR) - -fortestF: $(FOBJS) $(HDFLIB)/libdf.so - $(FC) $(FFLAGS) -o $@ $(FOBJS) $(HDFLIB)/libdf.so -lm - -fortest: $(HDFLIB)/libdf.so fortest.c $(CHDRS) - $(CC) $(CFLAGS) -o fortest fortest.c $(HDFLIB)/libdf.so -lm - -gentest: gentest.c $(HDFLIB)/libdf.so - $(CC) $(CFLAGS) gentest.c -o gentest $(HDFLIB)/libdf.so -lm - -clean: - -rm -f $(COBJS) testhdf $(FOBJS) $(FTESTS) \ - core *.hdf ptesthdf qtesthdf gentest *.o fortest.arg $(TESTDIR)/* \ - .depend - -depend: - mkdep ${CFLAGS} ${CSRCS} - -install: diff --git a/science/hdf5/files/hdf/util/Makefile b/science/hdf5/files/hdf/util/Makefile deleted file mode 100644 index 6d4ccae200d4..000000000000 --- a/science/hdf5/files/hdf/util/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# $FreeBSD$ - -UTILS = hdf24to8 hdfcomp hdfls hdfpack hdftopal hdftor8 paltohdf \ - r8tohdf ristosds vmake vshow hdf8to24 hdf2jpeg jpeg2hdf fp2hdf \ - hdfunpac vcompat - -all: ${UTILS} hdfed - -HEOBJ = he_main.o he_cntrl.o he_disp.o he_file.o - -#CFLAGS += -I${PREFIX}/include -I${.CURDIR}/../src/ -CFLAGS += -I${.CURDIR}/../src/ -#LDFLAGS += -L${PREFIX}/lib -ljpeg -L${.CURDIR}/../src/ -ldf -lz -LDFLAGS += -L${.CURDIR}/../src/ -ldf - -hdfed: he.h he_proto.h $(HEOBJ) - $(CC) $(HEOBJ) $(LDFLAGS) -o hdfed - -test: all fptest - env LD_LIBRARY_PATH=${.CURDIR}/../src ./testutil.sh - -clean: - -rm -f *.o $(UTILS) hdfed fptest - -rm -f o* ctx* cb* fptestf .depend - -depend: - mkdep ${CFLAGS} ${UTILS:S/$/.c/g} ${HEOBJ:S/.o/.c/g} - -install: all - install -c -s -o root -g wheel -m 555 ${UTILS} hdfed ${BINDIR} diff --git a/science/hdf5/files/man/Makefile b/science/hdf5/files/man/Makefile deleted file mode 100644 index eeea6c1997f7..000000000000 --- a/science/hdf5/files/man/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -# $FreeBSD$ - -MANDIR = ${PREFIX}/man/man - -MAN1 = hdf.1 hdfunpac.1 -MAN3 = gr_chunk.3 - -.include <bsd.man.mk> - -install: all-man maninstall - -clean: - -rm -f *.gz - -all: all-man - -depend: diff --git a/science/hdf5/files/mfhdf/Makefile b/science/hdf5/files/mfhdf/Makefile deleted file mode 100644 index 202766e54f67..000000000000 --- a/science/hdf5/files/mfhdf/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -# $FreeBSD$ - -SUBDIR = fortran libsrc ncgen ncdump nctest dumper - -.include <bsd.subdir.mk> - -test: all - @for d in ${SUBDIR} ; do \ - echo "===> testing in $$d"; \ - cd $$d; \ - ${MAKE} test; \ - cd ..; \ - done diff --git a/science/hdf5/files/mfhdf/dumper/Makefile b/science/hdf5/files/mfhdf/dumper/Makefile deleted file mode 100644 index 1bd8b3dfa744..000000000000 --- a/science/hdf5/files/mfhdf/dumper/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -# $FreeBSD$ - -PROG = hdp -NOMAN = 1 -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf -CFLAGS += -I${.CURDIR}/../libsrc -I${.CURDIR}/../../hdf/src - -SRCS = hdp.c hdp_list.c hdp_sds.c hdp_util.c hdp_vd.c hdp_vg.c hdp_rig.c show.c hdp_dump.c hdp_gr.c - -.include <bsd.prog.mk> - -test: ${PROG} - env LD_LIBRARY_PATH=${.CURDIR}/../libsrc:${.CURDIR}/../../hdf/src sh testhdp.sh diff --git a/science/hdf5/files/mfhdf/fortran/Makefile b/science/hdf5/files/mfhdf/fortran/Makefile deleted file mode 100644 index 03571382ccc3..000000000000 --- a/science/hdf5/files/mfhdf/fortran/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# $FreeBSD$ - -.PATH: ${.CURDIR} ${.CURDIR}/config - -all: - -NOMAN = 1 - -FFLAGS += ${CFLAGS} -DNDEBUG -Nn802 -Nx400 - -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf - -afterinstall: - install -c -o root -g wheel -m 444 config/netcdf-fbsd.inc \ - ${PREFIX}/include/netcdf.inc - -.include <bsd.prog.mk> - -ENVIR = env LD_LIBRARY_PATH=${.CURDIR}/../libsrc:${.CURDIR}/../../hdf/src - -CLEANFILES+= hdftest hdftest.o ftest ftest-fbsd.o - -config/netcdf.inc: - ln -s netcdf-fbsd.inc config/netcdf.inc - -ftest: ftest-fbsd.f config/netcdf.inc - ${MAKE} PROG=$@ SRCS=ftest-fbsd.f $@ - -hdftest: hdftest.f - ${MAKE} PROG=$@ SRCS=hdftest.f $@ - -test: ftest hdftest - mkdir -p testdir - # ================================ - # netCDF Fortran interface tests - # ================================ - ${ENVIR} ./ftest - ${ENVIR} ./hdftest > hdfout.new - @diff -Bb hdfout.new hdftst.sav && \ - echo "*** HDF-SD Fortran interface tests passed ***" || \ - (echo "*** HDF-SD Fortran interface tests failed ***"; \ - echo "The above differences are OK if small") diff --git a/science/hdf5/files/mfhdf/libsrc/Makefile b/science/hdf5/files/mfhdf/libsrc/Makefile deleted file mode 100644 index 092102faa53c..000000000000 --- a/science/hdf5/files/mfhdf/libsrc/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# $FreeBSD$ - -.PATH: ${.CURDIR} ${.CURDIR}/../fortran/config ${.CURDIR}/../fortran - -SRCS = array.c attr.c cdf.c dim.c file.c iarray.c error.c \ - globdef.c putget.c putgetg.c sharray.c string.c var.c \ - hdfsds.c mfsd.c nssdc.c xdrposix.c \ - jackets-fbsd.c mfsdf.c mfsdff.f - -LIB = mfhdf -SHLIB_MAJOR = 2 -SHLIB_MINOR = 3 - -LIBDIR = ${PREFIX}/lib - -# uncomment the line below to avoid building static libraries -#INTERNALLIB = Yes -# comment out the line below to build the profile libs -NOPROFILE=yes - -CFLAGS += -DNDEBUG -DHDF -I${.CURDIR}/../../hdf/src -I${.CURDIR} -.if ${MACHINE_ARCH} == "i386" -CFLAGS += -DSWAP -.endif - -LDADD += -L${.CURDIR}/../../hdf/src -ldf -LDFLAGS += -L. -l${LIB} ${LDADD} - -afterinstall: - install -c -o root -g wheel -m 444 hdf2netcdf.h local_nc.h \ - mfhdf.h netcdf.h ${PREFIX}/include - -.include <bsd.lib.mk> - -test: ${SHLIB_NAME} cdftest hdftest - env LD_LIBRARY_PATH=${.CURDIR}:${.CURDIR}/../../hdf/src ./cdftest > cdfout.new - @diff cdfout.new testout.sav && \ - echo "*** netCDF passes formatted test ***" || \ - (echo "*** netCDF fails formatted test ***" ; \ - echo "The above differences are OK if small") - env LD_LIBRARY_PATH=${.CURDIR}:${.CURDIR}/../../hdf/src ./hdftest > hdfout.new - @diff hdfout.new hdfout.sav && \ - echo "*** HDF passes formatted test ***" || \ - (echo "*** HDF fails formatted test ***" ; \ - echo "The above differences are OK if small") diff --git a/science/hdf5/files/mfhdf/ncdump/Makefile b/science/hdf5/files/mfhdf/ncdump/Makefile deleted file mode 100644 index 727b1de60b32..000000000000 --- a/science/hdf5/files/mfhdf/ncdump/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# $FreeBSD$ - -PROG = ncdump -MANDIR = ${PREFIX}/man/man - -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf -CFLAGS += -I${.CURDIR}/../libsrc -SRCS = ncdump.c vardata.c dumplib.c - -.include <bsd.prog.mk> - -ENVIR = env LD_LIBRARY_PATH=${.CURDIR}/../../hdf/src:${.CURDIR}/../libsrc -NCGEN = ${.CURDIR}/../ncgen/ncgen - -test: $(PROG) test0.cdl - ${ENVIR} $(NCGEN) -o test0.nc -n test0.cdl - ${ENVIR} ./$(PROG) test0.nc > test1.cdl - ${ENVIR} $(NCGEN) -o test1.nc -n test1.cdl - ${ENVIR} ./$(PROG) -n test0 test1.nc > test2.cdl - @cmp test1.cdl test2.cdl && \ - echo "*** $(PROGRAM) test successful ***" ; \ - rm test1.cdl test1.nc test2.cdl diff --git a/science/hdf5/files/mfhdf/ncgen/Makefile b/science/hdf5/files/mfhdf/ncgen/Makefile deleted file mode 100644 index d954137cffa8..000000000000 --- a/science/hdf5/files/mfhdf/ncgen/Makefile +++ /dev/null @@ -1,72 +0,0 @@ -# $FreeBSD$ - -PROG = ncgen -MANDIR = ${PREFIX}/man/man -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf -CFLAGS += -I${.CURDIR}/../libsrc -I${.CURDIR}/../../hdf/src -DNDEBUG -SRCS = main.c generate.c load.c ncgentab.c escapes.c \ - getfill.c init.c close.c genlib.c - -ENVIR = env LD_LIBRARY_PATH=${.CURDIR}/../libsrc:${.CURDIR}/../../hdf/src -NCDUMP = ${.CURDIR}/../ncdump/ncdump - -test: $(PROG) test0.cdl btest ctest ftest - -ncgenyy.c: ncgen.l - ${LEX} ${LFLAGS} ncgen.l - mv lex.yy.c ncgenyy.c - -ncgentab.c: ncgenyy.c ncgen.y - ${YACC} ${YFLAGS} ncgen.y - mv y.tab.c ncgentab.c - mv y.tab.h ncgentab.h - -.include <bsd.prog.mk> - -# -# test "-b" option of ncgen -# -btest: $(PROG) test0.cdl test1.cdl - ${ENVIR} ./$(PROG) -b test1.cdl - ${ENVIR} $(NCDUMP) test1.nc > test2.cdl - @diff test1.cdl test2.cdl && \ - echo "*** $(PROG) -b test successful ***" - -# -# test "-c" option of ncgen -# -ctest: test1.cdl ctest0 - ${ENVIR} ./ctest0 # tests `-c' option, creates ctest0.nc - ${ENVIR} $(NCDUMP) -n test1 ctest0.nc > ctest1.cdl - @diff test1.cdl ctest1.cdl && \ - echo "*** $(PROG) -c test successful ***" - -ctest0: ncgen test0.cdl - ${ENVIR} ./$(PROG) -c -o ctest0.nc test0.cdl > test0.c - $(CC) $(CFLAGS) -o $@ test0.c ${LDFLAGS} - -# -# test "-f" option of ncgen -# -ftest: test1.cdl ftest0 - ${ENVIR} ./ftest0 - ${ENVIR} $(NCDUMP) -n test1 ftest0.nc > ftest1.cdl - @if diff test1.cdl ftest1.cdl; then \ - echo "*** ncgen -f test successful ***"; \ - else \ - echo "*** ncgen -f test failed " \ - "(but roundoff differences are OK) ***"; \ - fi - -ftest0: $(PROG) test0.cdl netcdf.inc - ${ENVIR} ./$(PROG) -f -o ftest0.nc test0.cdl > test0.f; \ - $(FC) $(FFLAGS) ${CFLAGS} -o $@ test0.f ${LDFLAGS} - -test1.cdl: test0.nc - ${ENVIR} $(NCDUMP) -n test1 test0.nc > $@ - -test0.nc: $(PROG) test0.cdl - ${ENVIR} ./$(PROG) -b -o test0.nc test0.cdl - -netcdf.inc: - ln -s ../fortran/config/netcdf-fbsd.inc $@ diff --git a/science/hdf5/files/mfhdf/nctest/Makefile b/science/hdf5/files/mfhdf/nctest/Makefile deleted file mode 100644 index 722d3524a482..000000000000 --- a/science/hdf5/files/mfhdf/nctest/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# $FreeBSD$ - -PROG = nctest -NOMAN = 1 -CFLAGS += -I${.CURDIR}/../libsrc -LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf -SRCS = varget.c vargetg.c varput.c varputg.c vardef.c vartests.c \ - vputget.c vputgetg.c driver.c cdftests.c dimtests.c rec.c \ - atttests.c misctest.c add.c error.c emalloc.c val.c slabs.c - -install: - -.include <bsd.prog.mk> - -test: $(PROG) - @ echo "===========================" - @ echo "netCDF C interface tests" - @ echo "===========================" - env LD_LIBRARY_PATH=${.CURDIR}/../libsrc:${.CURDIR}/../../hdf/src ./$(PROG) diff --git a/science/hdf5/pkg-comment b/science/hdf5/pkg-comment deleted file mode 100644 index 2f8affd569f0..000000000000 --- a/science/hdf5/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Hierarchical Data Format library (from NCSA) diff --git a/science/hdf5/pkg-descr b/science/hdf5/pkg-descr deleted file mode 100644 index e34fb16bae11..000000000000 --- a/science/hdf5/pkg-descr +++ /dev/null @@ -1,23 +0,0 @@ -From HDF's manpage: - - hdf - Hierarchical Data Format library - -Description: - HDF is a multi-object file format that facilitates the - transfer of various types of scientific data between - machines and operating systems. Machines currently sup- - ported include the Cray, Convex, HP, Vax, Sun, IBM - RS/6000, Silicon Graphics, Macintosh, and IBM PC comput- - ers. HDF allows self-definitions of data content and easy - extensibility for future enhancements or compatibility - with other standard formats. HDF includes Fortran and C - calling interfaces,and utilities to prepare raw image of - data files or for use with other NCSA software. The HDF - library contains interfaces for storing and retrieving - compressed or uncompressed 8-bit and 24-bit raster images - with palettes, n-Dimensional scientific datasets and - binary tables. An interface is also included that allows - arbitray grouping of other HDF objects. - - - -mi (mi@aldan.ziplink.net) diff --git a/science/hdf5/pkg-plist b/science/hdf5/pkg-plist deleted file mode 100644 index 6fef1499b816..000000000000 --- a/science/hdf5/pkg-plist +++ /dev/null @@ -1,82 +0,0 @@ -bin/fp2hdf -bin/hdf24to8 -bin/hdf2jpeg -bin/hdf8to24 -bin/hdfcomp -bin/hdfed -bin/hdfls -bin/hdfpack -bin/hdftopal -bin/hdftor8 -bin/hdfunpac -bin/hdp -bin/jpeg2hdf -bin/ncdump -bin/ncgen -bin/paltohdf -bin/r8tohdf -bin/ristosds -bin/vcompat -bin/vmake -bin/vshow -include/atom.h -include/bitvect.h -include/cdeflate.h -include/cnbit.h -include/cnone.h -include/crle.h -include/cskphuff.h -include/df.h -include/dfan.h -include/dfconvrt.h -include/dffunc.inc -include/dfgr.h -include/dfi.h -include/dfivms.h -include/dfrig.h -include/dfsd.h -include/dfstubs.h -include/dfufp2i.h -include/dir_mac.h -include/dynarray.h -include/glist.h -include/hbitio.h -include/hchunks.h -include/hcomp.h -include/hcompi.h -include/hconv.h -include/hdf.h -include/hdf.inc -include/hdf2netcdf.h -include/hdfi.h -include/herr.h -include/hfile.h -include/hkit.h -include/hlimits.h -include/hntdefs.h -include/hproto.h -include/hqueue.h -include/htags.h -include/linklist.h -include/local_nc.h -include/maldebug.h -include/mcache.h -include/mfan.h -include/mfgr.h -include/mfhdf.h -include/mstdio.h -include/netcdf.h -include/netcdf.inc -include/patchlevel.h -include/sys_dir_mac.h -include/tbbt.h -include/trace.h -include/vattr.h -include/vg.h -include/vgint.h -lib/libdf.a -lib/libdf.so -lib/libdf.so.1 -lib/libmfhdf.a -lib/libmfhdf.so -lib/libmfhdf.so.2 diff --git a/science/hdf5/scripts/post-patch b/science/hdf5/scripts/post-patch deleted file mode 100644 index abb1fc2ea1fb..000000000000 --- a/science/hdf5/scripts/post-patch +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^CFLAGS = -ansi -O"` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,1 +72,1 @@ --CFLAGS = -ansi -O -+#CFLAGS = -ansi -O -END_OF_PATCH -done -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIB_LIB = "` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,1 +72,1 @@ --ZLIB_LIB = \$(TOP_SRCDIR)/hdf/zlib/libz.a -+#ZLIB_LIB = \$(TOP_SRCDIR)/hdf/zlib/libz.a -END_OF_PATCH -done -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEG_LIB = "` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,1 +72,1 @@ --JPEG_LIB = \$(TOP_SRCDIR)/hdf/jpeg/libjpeg.a -+#JPEG_LIB = \$(TOP_SRCDIR)/hdf/jpeg/libjpeg.a -END_OF_PATCH -done -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --ZLIBINC=\$(srcdir)/../zlib --ZLIBLIB=\$(srcdir)/../zlib -+ZLIBINC=/usr/include -+ZLIBLIB=-lz \$(pwrkdir) -END_OF_PATCH -done - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^ZLIBLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --ZLIBLIB=\$(srcdir)/../zlib --ZLIBINC=\$(srcdir)/../zlib -+ZLIBLIB=-lz -+ZLIBINC=/usr/include -END_OF_PATCH -done - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --JPEGINC=\$(srcdir)/../jpeg --JPEGLIB=\$(srcdir)/../jpeg -+JPEGINC=\$(prefix)/include -+JPEGLIB=\$(prefix)/lib -END_OF_PATCH -done - -for f in `find ${WRKSRC} -type f -name Makefile.in -print | xargs grep -l "^JPEGLIB="` -do -patch -p << END_OF_PATCH ---- $f.orig -+++ $f -@@ -72,2 +72,2 @@ --JPEGLIB=\$(srcdir)/../jpeg --JPEGINC=\$(srcdir)/../jpeg -+JPEGLIB=\$(prefix)/lib -+JPEGINC=\$(prefix)/include -END_OF_PATCH -done diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile deleted file mode 100644 index a3c87c854049..000000000000 --- a/science/netcdf/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -# New ports collection makefile for: netcdf -# Date created: 29 July 1999 -# Whom: Thomas Gellekum <tg@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= netcdf -PORTVERSION= 3.5.b8 -CATEGORIES= math -MASTER_SITES= ftp://unidata.ucar.edu/pub/netcdf/ -DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/-beta/} -EXTRACT_SUFX= .tar.Z - -MAINTAINER= ports@FreeBSD.org - -WRKSRC= ${WRKDIR}/${DISTNAME}/src - -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-fPIC -DPIC -Df2cFortran" -INSTALLS_SHLIB= yes - -MAN1= ncdump.1 ncgen.1 -MAN3= netcdf.3 - -post-build: - @(cd ${WRKSRC}/libsrc && \ - ${SETENV} ${MAKE_ENV} ${MAKE} linux_shared_library) - @(cd ${WRKSRC}/cxx && \ - ${SETENV} ${MAKE_ENV} ${MAKE} linux_shared_library) - -post-install: - ${INSTALL_DATA} ${WRKSRC}/libsrc/libnetcdf.so ${PREFIX}/lib/libnetcdf.so.1 - ${LN} -sf libnetcdf.so.1 ${PREFIX}/lib/libnetcdf.so - ${INSTALL_DATA} ${WRKSRC}/cxx/libnetcdf_c++.so ${PREFIX}/lib/libnetcdf_c++.so.1 - ${LN} -sf libnetcdf_c++.so.1 ${PREFIX}/lib/libnetcdf_c++.so - -.include <bsd.port.mk> diff --git a/science/netcdf/distinfo b/science/netcdf/distinfo deleted file mode 100644 index 0ccca5fd3340..000000000000 --- a/science/netcdf/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (netcdf-3.5-beta8.tar.Z) = 733142b996c911ade0dda505e5d960c6 diff --git a/science/netcdf/pkg-comment b/science/netcdf/pkg-comment deleted file mode 100644 index 15d74d212321..000000000000 --- a/science/netcdf/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Library for machine-independent, array-oriented data access diff --git a/science/netcdf/pkg-descr b/science/netcdf/pkg-descr deleted file mode 100644 index a8ab96607da6..000000000000 --- a/science/netcdf/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -NetCDF (network Common Data Form) is an interface for array-oriented -data access and a library that provides an implementation of the -interface. The netCDF library also defines a machine-independent -format for representing scientific data. Together, the interface, -library, and format support the creation, access, and sharing of -scientific data. The netCDF software was developed at the Unidata -Program Center in Boulder, Colorado. - -WWW: http://www.unidata.ucar.edu/packages/netcdf/ diff --git a/science/netcdf/pkg-plist b/science/netcdf/pkg-plist deleted file mode 100644 index a400eb5e9148..000000000000 --- a/science/netcdf/pkg-plist +++ /dev/null @@ -1,12 +0,0 @@ -bin/ncdump -bin/ncgen -include/ncvalues.h -include/netcdf.h -include/netcdf.hh -include/netcdfcpp.h -lib/libnetcdf.a -lib/libnetcdf.so -lib/libnetcdf.so.1 -lib/libnetcdf_c++.a -lib/libnetcdf_c++.so -lib/libnetcdf_c++.so.1 diff --git a/science/netcdf4/Makefile b/science/netcdf4/Makefile deleted file mode 100644 index a3c87c854049..000000000000 --- a/science/netcdf4/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -# New ports collection makefile for: netcdf -# Date created: 29 July 1999 -# Whom: Thomas Gellekum <tg@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= netcdf -PORTVERSION= 3.5.b8 -CATEGORIES= math -MASTER_SITES= ftp://unidata.ucar.edu/pub/netcdf/ -DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/-beta/} -EXTRACT_SUFX= .tar.Z - -MAINTAINER= ports@FreeBSD.org - -WRKSRC= ${WRKDIR}/${DISTNAME}/src - -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-fPIC -DPIC -Df2cFortran" -INSTALLS_SHLIB= yes - -MAN1= ncdump.1 ncgen.1 -MAN3= netcdf.3 - -post-build: - @(cd ${WRKSRC}/libsrc && \ - ${SETENV} ${MAKE_ENV} ${MAKE} linux_shared_library) - @(cd ${WRKSRC}/cxx && \ - ${SETENV} ${MAKE_ENV} ${MAKE} linux_shared_library) - -post-install: - ${INSTALL_DATA} ${WRKSRC}/libsrc/libnetcdf.so ${PREFIX}/lib/libnetcdf.so.1 - ${LN} -sf libnetcdf.so.1 ${PREFIX}/lib/libnetcdf.so - ${INSTALL_DATA} ${WRKSRC}/cxx/libnetcdf_c++.so ${PREFIX}/lib/libnetcdf_c++.so.1 - ${LN} -sf libnetcdf_c++.so.1 ${PREFIX}/lib/libnetcdf_c++.so - -.include <bsd.port.mk> diff --git a/science/netcdf4/distinfo b/science/netcdf4/distinfo deleted file mode 100644 index 0ccca5fd3340..000000000000 --- a/science/netcdf4/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (netcdf-3.5-beta8.tar.Z) = 733142b996c911ade0dda505e5d960c6 diff --git a/science/netcdf4/pkg-comment b/science/netcdf4/pkg-comment deleted file mode 100644 index 15d74d212321..000000000000 --- a/science/netcdf4/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Library for machine-independent, array-oriented data access diff --git a/science/netcdf4/pkg-descr b/science/netcdf4/pkg-descr deleted file mode 100644 index a8ab96607da6..000000000000 --- a/science/netcdf4/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -NetCDF (network Common Data Form) is an interface for array-oriented -data access and a library that provides an implementation of the -interface. The netCDF library also defines a machine-independent -format for representing scientific data. Together, the interface, -library, and format support the creation, access, and sharing of -scientific data. The netCDF software was developed at the Unidata -Program Center in Boulder, Colorado. - -WWW: http://www.unidata.ucar.edu/packages/netcdf/ diff --git a/science/netcdf4/pkg-plist b/science/netcdf4/pkg-plist deleted file mode 100644 index a400eb5e9148..000000000000 --- a/science/netcdf4/pkg-plist +++ /dev/null @@ -1,12 +0,0 @@ -bin/ncdump -bin/ncgen -include/ncvalues.h -include/netcdf.h -include/netcdf.hh -include/netcdfcpp.h -lib/libnetcdf.a -lib/libnetcdf.so -lib/libnetcdf.so.1 -lib/libnetcdf_c++.a -lib/libnetcdf_c++.so -lib/libnetcdf_c++.so.1 |