summaryrefslogtreecommitdiff
path: root/science/hdf
diff options
context:
space:
mode:
Diffstat (limited to 'science/hdf')
-rw-r--r--science/hdf/Makefile68
-rw-r--r--science/hdf/distinfo1
-rw-r--r--science/hdf/pkg-comment1
-rw-r--r--science/hdf/pkg-descr23
-rw-r--r--science/hdf/pkg-plist70
-rw-r--r--science/hdf/scripts/post-patch83
6 files changed, 0 insertions, 246 deletions
diff --git a/science/hdf/Makefile b/science/hdf/Makefile
deleted file mode 100644
index 761f28aefb08..000000000000
--- a/science/hdf/Makefile
+++ /dev/null
@@ -1,68 +0,0 @@
-# New ports collection makefile for: HDF_lib
-# Version required: 4.1r2
-# Date created: 17 November 1996
-# Whom: mi
-#
-# $Id: Makefile,v 1.8 1998/09/15 11:45:52 asami Exp $
-#
-
-DISTNAME= HDF4.1r2
-PKGNAME= hdf-4.1r2
-CATEGORIES= graphics
-MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF4.1r2/tar/
-
-MAINTAINER= mi@aldan.ziplink.net
-
-LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
-
-MAN1= hdf.1 hdfunpac.1 ncdump.1 ncgen.1
-
-GNU_CONFIGURE= yes
-FC?= f77 # Can also be g77 for the newer one
-MAKE_FLAGS= CC="$(CC)" FC="${FC}" -f
-MAKE_ENV= pwrkdir=${WRKDIR}
-#"wrkdir" doesn't work for some reason in the above
-
-# This will create dummy Makefiles and some links in the jpeg and libz
-# subdirectories. This way, we do not need to hunt all the dependencies
-# out. Shame on the lib's developers, though, this can not be done through
-# `configure'. -mi
-pre-build:
- ${AR} -r ${WRKDIR}/libz.a /dev/null
- ${RANLIB} ${WRKDIR}/libz.a
- test -d ${WRKSRC}/hdf/jpeg.came-with-HDF || \
- ${MV} -f ${WRKSRC}/hdf/jpeg ${WRKSRC}/hdf/jpeg.came-with-HDF
- -${MKDIR} ${WRKSRC}/hdf/jpeg
- ${RM} -f ${WRKSRC}/hdf/jpeg/Makefile
- ${ECHO} #Phony makefile > ${WRKSRC}/hdf/jpeg/Makefile
- ${ECHO} >> ${WRKSRC}/hdf/jpeg/Makefile
- ${ECHO} libjpeg.a: >> ${WRKSRC}/hdf/jpeg/Makefile
- printf '\t@echo Using the already installed JPEG library\n' \
- >> ${WRKSRC}/hdf/jpeg/Makefile
- printf '\nclean:\n\ttrue\n' >> ${WRKSRC}/hdf/jpeg/Makefile
- printf '\ninstall-lib:\n\ttrue\n' >> ${WRKSRC}/hdf/jpeg/Makefile
- printf '\ninstall:\n\ttrue\n' >> ${WRKSRC}/hdf/jpeg/Makefile
- -ln -s ${PREFIX}/lib/libjpeg* ${WRKSRC}/hdf/jpeg/
- -ln -s ${PREFIX}/include/j*.h ${WRKSRC}/hdf/jpeg/
- test -d ${WRKSRC}/hdf/zlib.came-with-HDF || \
- ${MV} -f ${WRKSRC}/hdf/zlib ${WRKSRC}/hdf/zlib.came-with-HDF
- -${MKDIR} ${WRKSRC}/hdf/zlib
- ${RM} -f ${WRKSRC}/hdf/zlib/Makefile
- ${ECHO} #Phony makefile > ${WRKSRC}/hdf/zlib/Makefile
- ${ECHO} >> ${WRKSRC}/hdf/zlib/Makefile
- ${ECHO} libzlib.a: >> ${WRKSRC}/hdf/zlib/Makefile
- printf '\t@echo Using the already installed ZLIB library\n' \
- >> ${WRKSRC}/hdf/zlib/Makefile
- printf '\nclean:\n\ttrue\n' >> ${WRKSRC}/hdf/zlib/Makefile
- printf '\ninstall-lib:\n\ttrue\n' >> ${WRKSRC}/hdf/zlib/Makefile
- printf '\ninstall:\n\ttrue\n' >> ${WRKSRC}/hdf/zlib/Makefile
- -ln -s /usr/lib/${BINFORMAT}/libz* ${WRKSRC}/hdf/zlib/
- -ln -s /usr/include/zconf.h /usr/include/zlib.h ${WRKSRC}/hdf/zlib/
-
-post-install:
- @for binary in `grep ^bin/ ${PLIST}` ; do strip ${PREFIX}/$$binary; done
-
-test:
- cd ${WRKSRC}; make ${MAKE_FLAGS} ${MAKEFILE} test
-
-.include <bsd.port.mk>
diff --git a/science/hdf/distinfo b/science/hdf/distinfo
deleted file mode 100644
index da49d2737e3e..000000000000
--- a/science/hdf/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (HDF4.1r2.tar.gz) = 52814865529791e3a39637fd851a7143
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 f24c36cc89ae..000000000000
--- a/science/hdf/pkg-plist
+++ /dev/null
@@ -1,70 +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
-lib/libmfhdf.a
-lib/libdf.a
-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/dffunc.f90
-include/dffunc.inc
-include/dfgr.h
-include/dfi.h
-include/dfrig.h
-include/dfsd.h
-include/dfstubs.h
-include/dfufp2i.h
-include/dynarray.h
-include/hbitio.h
-include/hchunks.h
-include/hcomp.h
-include/hcompi.h
-include/hconv.h
-include/hdf.h
-include/hdf.f90
-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/htags.h
-include/linklist.h
-include/local_nc.h
-include/mfan.h
-include/mfgr.h
-include/mfhdf.h
-include/mstdio.h
-include/netcdf.h
-include/netcdf.f90
-include/netcdf.inc
-include/tbbt.h
-include/vattr.h
-include/vg.h
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