pkgsrc/devel/hdf5/Makefile
jlam 9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00

42 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.36 2006/03/04 21:29:16 jlam Exp $
DISTNAME= hdf5-1.6.5
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/hdf5-1.6.5/src/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://hdf.ncsa.uiuc.edu/HDF5/
COMMENT= Hierarchical Data Format (new generation)
DIST_SUBDIR= ${PKGNAME_NOREV}
USE_LIBTOOL= yes
USE_TOOLS+= tr
GNU_CONFIGURE= yes
TEST_TARGET= check
#CONFIGURE_ARGS+= --disable-production --enable-debug
# it appears that this file is informative only and is not actually
# used by any installed tools
CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings
.include "options.mk"
post-extract:
${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsd
${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsdelf
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/tools/misc/h5cc ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/tools/misc/h5redeploy.in ${PREFIX}/bin/h5redeploy
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hdf5
cd ${WRKSRC} && ${INSTALL_DATA} COPYING release_docs/HISTORY.txt \
release_docs/RELEASE.txt ${PREFIX}/share/doc/hdf5
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/hdf5
# avoid installing the Makefile and Makefile.in's They are not needed
cd ${WRKSRC}/doc/html && ${PAX} -s '/.*Makefile.*//' -rwpm . ${PREFIX}/share/doc/html/hdf5
${CHOWN} -R ${SHAREOWN} ${PREFIX}/share/doc/html/hdf5
${CHGRP} -R ${SHAREGRP} ${PREFIX}/share/doc/html/hdf5
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"