1997-11-03 13:10:43 +01:00
|
|
|
# New ports collection makefile for: HDF_lib
|
|
|
|
# Date created: 17 November 1996
|
|
|
|
# Whom: mi
|
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1997-11-03 13:10:43 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= hdf
|
2001-12-21 22:36:42 +01:00
|
|
|
PORTVERSION= 4.1r5
|
2004-02-29 10:10:21 +01:00
|
|
|
CATEGORIES= science archivers graphics
|
2001-12-21 22:36:42 +01:00
|
|
|
MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF${PORTVERSION}/tar/
|
2000-04-14 12:48:02 +02:00
|
|
|
DISTNAME= HDF${PORTVERSION}
|
1997-11-03 13:10:43 +01:00
|
|
|
|
1999-10-26 23:18:42 +02:00
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Hierarchical Data Format library (from NCSA)
|
1997-11-03 13:10:43 +01:00
|
|
|
|
1998-09-15 13:46:15 +02:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
|
1997-11-03 13:10:43 +01:00
|
|
|
|
2004-03-24 19:55:25 +01:00
|
|
|
CONFLICTS= netcdf-*
|
|
|
|
|
1998-08-22 01:11:03 +02:00
|
|
|
MAN1= hdf.1 hdfunpac.1 ncdump.1 ncgen.1
|
1999-11-14 03:32:21 +01:00
|
|
|
MAN3= gr_chunk.3
|
|
|
|
MANCOMPRESSED= maybe
|
1998-08-22 01:11:03 +02:00
|
|
|
|
2003-10-06 09:52:07 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
1999-11-14 03:32:21 +01:00
|
|
|
MAKE_ARGS= PREFIX="${PREFIX}" -j 2
|
1997-11-03 13:10:43 +01:00
|
|
|
|
2004-03-07 00:24:07 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} != "i386" && ${ARCH} != "alpha"
|
|
|
|
BROKEN= "Does not compile on !i386 and !alpha"
|
|
|
|
.endif
|
|
|
|
|
1999-11-14 03:32:21 +01:00
|
|
|
post-patch:
|
|
|
|
${RM} -rf ${WRKSRC}/hdf/jpeg
|
|
|
|
${RM} -rf ${WRKSRC}/hdf/zlib
|
1997-11-03 13:10:43 +01:00
|
|
|
|
1999-11-14 03:32:21 +01:00
|
|
|
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
|
1997-11-03 13:10:43 +01:00
|
|
|
|
1999-11-14 03:32:21 +01:00
|
|
|
test: build
|
|
|
|
cd ${WRKSRC}; ${MAKE} test
|
1997-11-03 13:10:43 +01:00
|
|
|
|
2004-03-07 00:24:07 +01:00
|
|
|
.include <bsd.port.post.mk>
|