diff options
author | jtb <jtb@pkgsrc.org> | 2001-02-28 22:18:38 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-02-28 22:18:38 +0000 |
commit | 6db9e726b87c7eade7f06c3638c07a48e90da968 (patch) | |
tree | 53b279177bfda1f88c858fe90f54f2e38248c9ea /devel | |
parent | 54ba5eaa029d8c67f1357d65972c406184097852 (diff) | |
download | pkgsrc-6db9e726b87c7eade7f06c3638c07a48e90da968.tar.gz |
Initial import of hdf: NCSA Hierarchical Data Format
HDF is a multi-object file format that facilitates the transfer of
various types of scientific data between machines and operating
systems. 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.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/hdf/Makefile | 57 | ||||
-rw-r--r-- | devel/hdf/files/bytesex.c | 17 | ||||
-rw-r--r-- | devel/hdf/files/md5 | 3 | ||||
-rw-r--r-- | devel/hdf/files/patch-sum | 13 | ||||
-rw-r--r-- | devel/hdf/patches/patch-aa | 8 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ab | 8 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ac | 8 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ad | 55 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ae | 88 | ||||
-rw-r--r-- | devel/hdf/patches/patch-af | 38 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ag | 10 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ah | 24 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ai | 26 | ||||
-rw-r--r-- | devel/hdf/patches/patch-aj | 37 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ak | 13 | ||||
-rw-r--r-- | devel/hdf/pkg/DESCR | 11 | ||||
-rw-r--r-- | devel/hdf/pkg/PLIST | 97 |
17 files changed, 513 insertions, 0 deletions
diff --git a/devel/hdf/Makefile b/devel/hdf/Makefile new file mode 100644 index 00000000000..7bf3a199d8a --- /dev/null +++ b/devel/hdf/Makefile @@ -0,0 +1,57 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/02/28 22:18:38 jtb Exp $ + +DISTNAME= HDF4.1r4 +PKGNAME= hdf-4.1r4 +CATEGORIES= devel +MASTER_SITES= ftp://hdf.ncsa.uiuc.edu/HDF/HDF/HDF_Current/tar/ \ + ftp://sunsite.doc.ic.ac.uk/packages/HDF/HDF/HDF_Current/tar/ + +MAINTAINER= jtb@netbsd.org +HOMEPAGE= http://hdf.ncsa.uiuc.edu/hdf4.html +COMMENT= NCSA Hierarchical Data Format + +DEPENDS+= f2c-[0-9]*:../../lang/f2c +DEPENDS+= jpeg-[0-9]*:../../graphics/jpeg + +EVAL_PREFIX+= JPEGBASE=jpeg F2CBASE=f2c +MAKE_ENV+= "JPEGBASE=${JPEGBASE}" +MAKE_ENV+= "F2CBASE=${F2CBASE}" + +post-patch: + (cd ${WRKSRC}/hdf/src; for i in *.f; do \ + ${F2CBASE}/bin/f2c $$i; \ + done) + (cd ${WRKSRC}/mfhdf/fortran; for i in *.f; do \ + ${F2CBASE}/bin/f2c $$i; \ + done) + for i in `${FIND} ${WRKSRC}/mfhdf/ -type f -print`; do \ + ${SED} -e 's:"netcdf.h":"netcdf_hdf.h":g' \ + -e 's:\<netcdf.h\>:\<netcdf_hdf.h\>:g' \ + < $$i > $$i.tmp && ${MV} -f $$i.tmp $$i; \ + done + ${MV} -f ${WRKSRC}/mfhdf/libsrc/netcdf.h.in \ + ${WRKSRC}/mfhdf/libsrc/netcdf_hdf.h + ${MV} -f ${WRKSRC}/mfhdf/ncdump/ncdump.1 \ + ${WRKSRC}/mfhdf/ncdump/hdfncdump.1 + ${MV} -f ${WRKSRC}/mfhdf/ncgen/ncgen.1 \ + ${WRKSRC}/mfhdf/ncgen/hdfncgen.1 + +pre-configure: + ${CC} ${FILESDIR}/bytesex.c -o ${WRKSRC}/bytesex + +SWAP=`${WRKSRC}/bytesex` + +do-configure: + @for f in libsrc dumper ncgen ncdump; do \ + ${SED} -e 's:@SWAP@:'${SWAP}':g' \ + < ${WRKSRC}/mfhdf/$$f/Makefile > \ + ${WRKSRC}/mfhdf/$$f/Makefile.tmp \ + && ${MV} ${WRKSRC}/mfhdf/$$f/Makefile.tmp \ + ${WRKSRC}/mfhdf/$$f/Makefile; \ + done + +post-install: + ${INSTALL_DATA} ${WRKSRC}/mfhdf/fortran/config/netcdf-fbsd.inc \ + ${PREFIX}/include/hdf/netcdf_hdf.inc + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/hdf/files/bytesex.c b/devel/hdf/files/bytesex.c new file mode 100644 index 00000000000..0fd19ec1d98 --- /dev/null +++ b/devel/hdf/files/bytesex.c @@ -0,0 +1,17 @@ +#include <stdio.h> + +union {long Long; + char Char[sizeof(long)]; +} u; + +int +main() +{ + u.Long = 1; + if (u.Char[0] == 1) /* Little endian */ + printf("-DSWAP\n"); + else if (u.Char[sizeof(long) - 1] == 1) /* Big endian */ + printf("\n"); + else exit(1); /* Unknown */ + return 0; +} diff --git a/devel/hdf/files/md5 b/devel/hdf/files/md5 new file mode 100644 index 00000000000..1558219cf8b --- /dev/null +++ b/devel/hdf/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/02/28 22:18:39 jtb Exp $ + +MD5 (HDF4.1r4.tar.gz) = cd67c8ffa8d39aa471f9209907681bed diff --git a/devel/hdf/files/patch-sum b/devel/hdf/files/patch-sum new file mode 100644 index 00000000000..693834ae8cf --- /dev/null +++ b/devel/hdf/files/patch-sum @@ -0,0 +1,13 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/02/28 22:18:39 jtb Exp $ + +MD5 (patch-aa) = 848cca42cf213297bd743e155a880f6a +MD5 (patch-ab) = 2cb7f645b2f9e8217851f074a4981b1f +MD5 (patch-ac) = 69dd5d152441a30c22cb994ecd6f41b3 +MD5 (patch-ad) = 9b2d98289e8a73170df7bca1d1896741 +MD5 (patch-ae) = 583deae00b958d221fbcf8f1b9dbdc4d +MD5 (patch-af) = c303abd8f4e35ebd1611c03ab9dcc4c6 +MD5 (patch-ag) = d7e14423e056d8b6969bad025d5ce390 +MD5 (patch-ah) = ece8a23027803633e11fbd26163f3b1e +MD5 (patch-ai) = 9effca7afc5050b63cb06a8b77cd393e +MD5 (patch-aj) = c72da2c09881001dd666aa3b2ef172d0 +MD5 (patch-ak) = a812a94213b1f97e7095d326abf6816d diff --git a/devel/hdf/patches/patch-aa b/devel/hdf/patches/patch-aa new file mode 100644 index 00000000000..059e55c7821 --- /dev/null +++ b/devel/hdf/patches/patch-aa @@ -0,0 +1,8 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/02/28 22:18:39 jtb Exp $ + +--- /dev/null Mon Feb 26 17:25:58 2001 ++++ Makefile +@@ -0,0 +1,3 @@ ++SUBDIR+= hdf man mfhdf ++ ++.include <bsd.subdir.mk> diff --git a/devel/hdf/patches/patch-ab b/devel/hdf/patches/patch-ab new file mode 100644 index 00000000000..ae70a467ad0 --- /dev/null +++ b/devel/hdf/patches/patch-ab @@ -0,0 +1,8 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/02/28 22:18:39 jtb Exp $ + +--- /dev/null Mon Feb 26 17:27:24 2001 ++++ hdf/Makefile +@@ -0,0 +1,3 @@ ++SUBDIR+= src util ++ ++.include <bsd.subdir.mk> diff --git a/devel/hdf/patches/patch-ac b/devel/hdf/patches/patch-ac new file mode 100644 index 00000000000..0bf35278622 --- /dev/null +++ b/devel/hdf/patches/patch-ac @@ -0,0 +1,8 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/02/28 22:18:39 jtb Exp $ + +--- /dev/null Mon Feb 26 17:28:40 2001 ++++ mfhdf/Makefile +@@ -0,0 +1,3 @@ ++SUBDIR+= libsrc dumper ncdump ncgen ++ ++.include <bsd.subdir.mk> diff --git a/devel/hdf/patches/patch-ad b/devel/hdf/patches/patch-ad new file mode 100644 index 00000000000..04cf4afc2ac --- /dev/null +++ b/devel/hdf/patches/patch-ad @@ -0,0 +1,55 @@ +$NetBSD: patch-ad,v 1.1.1.1 2001/02/28 22:18:41 jtb Exp $ + +--- /dev/null Wed Feb 28 22:06:41 2001 ++++ hdf/src/Makefile +@@ -0,0 +1,50 @@ ++LIB= df ++ ++SHLIB_MAJOR= 0 ++SHLIB_MINOR= 0 ++ ++LIBDIR= ${PREFIX}/lib ++ ++JPEGLIB= -R${JPEGBASE}/lib -L${JPEGBASE}/lib -ljpeg ++JPEGINC= -I${JPEGBASE}/include ++ZLIB= -lz ++F2CLIB= -L${F2CBASE}/lib -lf2c ++F2CINC= -I${F2CBASE}/include ++ ++CPPFLAGS+= -Dunix -DMEM_LIST ${JPEGINC} ${F2CINC} ++ ++LDADD+= ${JPEGLIB} ${ZLIB} ${F2CLIB} -lm ++ ++NOLINT= 1 ++MKPICINSTALL= no ++MKPROFILE= no ++ ++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.c dfanff.c dfff.c dfpff.c dfr8ff.c dfsdff.c dfufp2if.c \ ++ hfileff.c mfgrff.c vattrff.c vgff.c ++ ++INCLUDES= atom.h bitvect.h cdeflate.h cnbit.h cnone.h crle.h cskphuff.h \ ++ df.h dfan.h dfconvrt.h dffunc.inc 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 hdf.inc \ ++ 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 src.inc sys_dir_mac.h tbbt.h trace.h \ ++ vattr.h vg.h vgint.h ++ ++afterinstall: ++ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/include/hdf ++ for f in ${INCLUDES}; do \ ++ ${BSD_INSTALL_DATA} $$f ${PREFIX}/include/hdf/$$f; \ ++ done ++ ++.include <bsd.lib.mk> diff --git a/devel/hdf/patches/patch-ae b/devel/hdf/patches/patch-ae new file mode 100644 index 00000000000..0277913120a --- /dev/null +++ b/devel/hdf/patches/patch-ae @@ -0,0 +1,88 @@ +$NetBSD: patch-ae,v 1.1.1.1 2001/02/28 22:18:41 jtb Exp $ + +--- /dev/null Wed Feb 28 21:02:46 2001 ++++ hdf/util/Makefile +@@ -0,0 +1,83 @@ ++UTILS= hdf24to8 hdfcomp hdfed hdfls hdfpack hdftopal hdftor8 \ ++ paltohdf r8tohdf ristosds vmake vshow hdf8to24 \ ++ hdf2jpeg jpeg2hdf fp2hdf hdfunpac vcompat ++ ++all: ${UTILS} ++ ++BINDIR= ${PREFIX}/bin ++LIBDIR= ${PREFIX}/lib ++ ++HDFLIB= -L${.CURDIR}/../src ++JPEGLIB= -R${JPEGBASE}/lib -L${JPEGBASE}/lib ++JPEGINC= -I${JPEGBASE}/include ++ZLIB= -lz ++ ++LDFLAGS+= -Wl,-R${LIBDIR} ${HDFLIB} ${JPEGLIB} ++ ++LDADD+= -ldf -ljpeg -lz -lm ++ ++CPPFLAGS+= -Dunix ${JPEGINC} -I${.CURDIR}/../src ++ ++fp2hdf: fp2hdf.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++hdf24to8: hdf24to8.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++hdf2jpeg: hdf2jpeg.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++hdf8to24: hdf8to24.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++hdfcomp: hdfcomp.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++hdfed: he_main.o he_cntrl.o he_disp.o he_file.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++hdfls: hdfls.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++hdfpack: hdfpack.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++hdftopal: hdftopal.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++hdftor8: hdftor8.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++hdfunpac: hdfunpac.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++jpeg2hdf: jpeg2hdf.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++paltohdf: paltohdf.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++r8tohdf: r8tohdf.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++ristosds: ristosds.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++vcompat: vcompat.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++vmake: vmake.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++vshow: vshow.o ++ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ ++ ++ ++install: ${UTILS} ++ @for f in ${UTILS}; do \ ++ i="${BSD_INSTALL_PROGRAM} $$f ${BINDIR}"; \ ++ ${ECHO} $$i; $$i; \ ++ done ++ ++clean: ++ rm -f *.o ${UTILS} hdfed diff --git a/devel/hdf/patches/patch-af b/devel/hdf/patches/patch-af new file mode 100644 index 00000000000..69efe3cb195 --- /dev/null +++ b/devel/hdf/patches/patch-af @@ -0,0 +1,38 @@ +$NetBSD: patch-af,v 1.1.1.1 2001/02/28 22:18:41 jtb Exp $ + +--- /dev/null Wed Feb 28 22:06:47 2001 ++++ mfhdf/libsrc/Makefile +@@ -0,0 +1,33 @@ ++.PATH: ${.CURDIR} ${.CURDIR}/../fortran ${.CURDIR}/../fortran/config ++ ++LIB= mfhdf ++ ++SHLIB_MAJOR= 0 ++SHLIB_MINOR= 0 ++ ++LIBDIR= ${PREFIX}/lib ++ ++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 ++ ++HDFLIB= -L${.CURDIR}/../../hdf/src -ldf ++HDFINC= -I${.CURDIR}/../../hdf/src ++F2CLIB= -L${F2CBASE}/lib -lf2c ++F2CINC= -I${F2CBASE}/include ++ ++LDFLAGS+= ${HDFLIB} ${F2CLIB} -lm ++ ++CPPFLAGS+= -Dunix -DHDF -DNDEBUG @SWAP@ ${HDFINC} ${F2CINC} -I${.CURDIR} ++ ++NOLINT= 1 ++ ++NOGCCERROR= 1 ++ ++afterinstall: ++ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/include/hdf ++ for f in hdf2netcdf.h local_nc.h mfhdf.h netcdf_hdf.h; do \ ++ ${BSD_INSTALL_DATA} $$f ${PREFIX}/include/hdf/; \ ++ done ++ ++.include <bsd.lib.mk> diff --git a/devel/hdf/patches/patch-ag b/devel/hdf/patches/patch-ag new file mode 100644 index 00000000000..b652870774f --- /dev/null +++ b/devel/hdf/patches/patch-ag @@ -0,0 +1,10 @@ +$NetBSD: patch-ag,v 1.1.1.1 2001/02/28 22:18:41 jtb Exp $ + +--- /dev/null Wed Feb 28 13:05:04 2001 ++++ man/Makefile +@@ -0,0 +1,5 @@ ++MAN= hdf.1 hdfunpac.1 gr_chunk.3 ++ ++MANDIR= ${PREFIX}/man ++ ++.include <bsd.man.mk> diff --git a/devel/hdf/patches/patch-ah b/devel/hdf/patches/patch-ah new file mode 100644 index 00000000000..39d1e5a3308 --- /dev/null +++ b/devel/hdf/patches/patch-ah @@ -0,0 +1,24 @@ +$NetBSD: patch-ah,v 1.1.1.1 2001/02/28 22:18:41 jtb Exp $ + +--- /dev/null Wed Feb 28 13:48:26 2001 ++++ mfhdf/dumper/Makefile +@@ -0,0 +1,19 @@ ++PROG= hdp ++ ++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 ++ ++BINDIR= ${PREFIX}/bin ++LIBDIR= ${PREFIX}/lib ++ ++JPEGLIB= -R{JPEGBASE}/lib -L${JPEGBASE}/lib -ljpeg ++HDFLIB= -L${.CURDIR}/../../hdf/src -ldf ++MFHDFLIB= -L${.CURDIR}/../libsrc -lmfhdf ++ ++LDFLAGS+= -Wl,-R{LIBDIR} ${HDFLIB} ${MFHDFLIB} ${JPEGLIB} ++ ++CPPFLAGS+= -Dunix @SWAP@ -I${.CURDIR}/../libsrc -I${.CURDIR}/../../hdf/src ++ ++NOMAN= 1 ++ ++.include <bsd.prog.mk> diff --git a/devel/hdf/patches/patch-ai b/devel/hdf/patches/patch-ai new file mode 100644 index 00000000000..2ff7a5120d2 --- /dev/null +++ b/devel/hdf/patches/patch-ai @@ -0,0 +1,26 @@ +$NetBSD: patch-ai,v 1.1.1.1 2001/02/28 22:18:41 jtb Exp $ + +--- /dev/null Wed Feb 28 02:22:10 2001 ++++ mfhdf/ncdump/Makefile +@@ -0,0 +1,21 @@ ++PROG= ncdump ++PROGNAME= hdfncdump ++ ++MAN= hdfncdump.1 ++ ++SRCS= ncdump.c vardata.c dumplib.c ++ ++BINDIR= ${PREFIX}/bin ++LIBDIR= ${PREFIX}/lib ++MANDIR= ${PREFIX}/man ++ ++JPEGLIB= -Wl,-R${JPEGBASE} -L${JPEGBASE} -ljpeg ++HDFLIB= -L${.CURDIR}/../../hdf/src -ldf ++MFHDFLIB= -L${.CURDIR}/../libsrc -lmfhdf ++MFHDFINC= -I${.CURDIR}/../libsrc ++ ++LDFLAGS+= -Wl,-R${LIBDIR} ${MFHDFLIB} ${HDFLIB} ${JPEGLIB} ++ ++CPPFLAGS+= ${MFHDFINC} @SWAP@ ++ ++.include <bsd.prog.mk> diff --git a/devel/hdf/patches/patch-aj b/devel/hdf/patches/patch-aj new file mode 100644 index 00000000000..b4510fc7771 --- /dev/null +++ b/devel/hdf/patches/patch-aj @@ -0,0 +1,37 @@ +$NetBSD: patch-aj,v 1.1.1.1 2001/02/28 22:18:41 jtb Exp $ + +--- /dev/null Wed Feb 28 02:22:03 2001 ++++ mfhdf/ncgen/Makefile +@@ -0,0 +1,32 @@ ++PROG= ncgen ++PROGNAME= hdfncgen ++ ++MAN= hdfncgen.1 ++ ++SRCS= main.c generate.c load.c ncgentab.c escapes.c getfill.c init.c \ ++ close.c genlib.c ++ ++BINDIR= ${PREFIX}/bin ++LIBDIR= ${PREFIX}/lib ++MANDIR= ${PREFIX}/man ++ ++MFHDFLIB= -L${.CURDIR}/../libsrc -lmfhdf ++MFHDFINC= -I${.CURDIR}/../libsrc ++HDFLIB= -L${.CURDIR}/../../hdf/src -ldf ++HDFINC= -I${.CURDIR}/../../hdf/src ++JPEGLIB= -R${JPEGBASE}/lib -L${JPEGBASE}/lib -ljpeg ++ ++LDFLAGS+= -Wl,-R{LIBDIR} ${MFHDFLIB} ${HDFLIB} ${JPEGLIB} ++ ++CPPFLAGS+= -Dunix -DNDEBUG @SWAP@ ${MFHDFINC} ${HDFINC} ++ ++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 ++ touch ncgentab.h ++ ++.include <bsd.prog.mk> diff --git a/devel/hdf/patches/patch-ak b/devel/hdf/patches/patch-ak new file mode 100644 index 00000000000..8310b343190 --- /dev/null +++ b/devel/hdf/patches/patch-ak @@ -0,0 +1,13 @@ +$NetBSD: patch-ak,v 1.1.1.1 2001/02/28 22:18:41 jtb Exp $ + +--- mfhdf/libsrc/netcdf.h.in.orig ++++ mfhdf/libsrc/netcdf.h.in +@@ -61,7 +61,7 @@ + * + * Implementation details are contained in the section below on fill values. + */ +-#define NC_OLD_FILLVALUES @OLD_FILLVALUES@ ++#define NC_OLD_FILLVALUES 0 + + /* + * Fill values diff --git a/devel/hdf/pkg/DESCR b/devel/hdf/pkg/DESCR new file mode 100644 index 00000000000..cbe053c1725 --- /dev/null +++ b/devel/hdf/pkg/DESCR @@ -0,0 +1,11 @@ +HDF is a multi-object file format that facilitates the transfer of +various types of scientific data between machines and operating +systems. 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. diff --git a/devel/hdf/pkg/PLIST b/devel/hdf/pkg/PLIST new file mode 100644 index 00000000000..e1df5ff2ae0 --- /dev/null +++ b/devel/hdf/pkg/PLIST @@ -0,0 +1,97 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/28 22:18:39 jtb Exp $ +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/hdfncdump +bin/hdfncgen +bin/paltohdf +bin/r8tohdf +bin/ristosds +bin/vcompat +bin/vmake +bin/vshow +include/hdf/atom.h +include/hdf/bitvect.h +include/hdf/cdeflate.h +include/hdf/cnbit.h +include/hdf/cnone.h +include/hdf/crle.h +include/hdf/cskphuff.h +include/hdf/df.h +include/hdf/dfan.h +include/hdf/dfconvrt.h +include/hdf/dffunc.inc +include/hdf/dfgr.h +include/hdf/dfi.h +include/hdf/dfivms.h +include/hdf/dfrig.h +include/hdf/dfsd.h +include/hdf/dfstubs.h +include/hdf/dfufp2i.h +include/hdf/dir_mac.h +include/hdf/dynarray.h +include/hdf/glist.h +include/hdf/hbitio.h +include/hdf/hchunks.h +include/hdf/hcomp.h +include/hdf/hcompi.h +include/hdf/hconv.h +include/hdf/hdf.h +include/hdf/hdf.inc +include/hdf/hdf2netcdf.h +include/hdf/hdfi.h +include/hdf/herr.h +include/hdf/hfile.h +include/hdf/hkit.h +include/hdf/hlimits.h +include/hdf/hntdefs.h +include/hdf/hproto.h +include/hdf/hqueue.h +include/hdf/htags.h +include/hdf/linklist.h +include/hdf/local_nc.h +include/hdf/maldebug.h +include/hdf/mcache.h +include/hdf/mfan.h +include/hdf/mfhdf.h +include/hdf/mfgr.h +include/hdf/mstdio.h +include/hdf/netcdf_hdf.h +include/hdf/netcdf_hdf.inc +include/hdf/patchlevel.h +include/hdf/src.inc +include/hdf/sys_dir_mac.h +include/hdf/tbbt.h +include/hdf/trace.h +include/hdf/vattr.h +include/hdf/vg.h +include/hdf/vgint.h +lib/libdf.a +lib/libdf.so +lib/libdf.so.0 +lib/libdf.so.0.0 +lib/libmfhdf.a +lib/libmfhdf.so +lib/libmfhdf.so.0 +lib/libmfhdf.so.0.0 +man/cat1/hdf.0 +man/cat1/hdfncdump.0 +man/cat1/hdfncgen.0 +man/cat1/hdfunpac.0 +man/cat3/gr_chunk.0 +man/man1/hdf.1 +man/man1/hdfncdump.1 +man/man1/hdfncgen.1 +man/man1/hdfunpac.1 +man/man3/gr_chunk.3 +@dirrm include/hdf |