1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/science/hdf/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

43 lines
1.1 KiB
Makefile

# Created by: mi
# $FreeBSD$
PORTNAME= hdf
DISTVERSION= 4.2.8
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= science archivers graphics
MASTER_SITES= http://www.hdfgroup.org/ftp/HDF/releases/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME:tu}${PORTVERSION}/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= Hierarchical Data Format library (from NCSA)
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libsz.so:${PORTSDIR}/science/szip
CONFLICTS= netcdf-*
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-jpeg="${LOCALBASE}" \
--with-szlib="${LOCALBASE}" \
--enable-shared
INSTALL_TARGET= install-strip
USES= fortran libtool tar:bzip2
USE_LDCONFIG= yes
BROKEN_powerpc= Does not compile on powerpc
post-patch:
@${REINPLACE_CMD} -e \
'/PROD_/s|=.*|=""|' ${WRKSRC}/config/freebsd
post-install:
${INSTALL_MAN} ${WRKSRC}/man/hdfunpac.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/gr_chunk.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
check regression-test test: build
@(cd ${WRKSRC}/hdf/test && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
.include <bsd.port.mk>