aboutsummaryrefslogtreecommitdiff
path: root/science/hdf5-18/Makefile
blob: 42a21b0b35dcee7bd3bbd719e642474c02b16d03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# ex:ts=8
# New ports collection makefile for:	HDF5
# Date created:			Jul 7, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	hdf5
PORTVERSION=	1.4.4
CATEGORIES=	graphics
MASTER_SITES=	ftp://hdf.ncsa.uiuc.edu/HDF5/hdf5-${PORTVERSION}/src/

MAINTAINER=	ports@FreeBSD.org

USE_REINPLACE=	yes
USE_PERL5=	yes
USE_OPENSSL=	yes
USE_LIBTOOL=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LDFLAGS="${PTHREAD_LIBS}"
CONFIGURE_ARGS=	--enable-cxx --enable-production \
		--enable-threadsafe --disable-debug \
		--with-ssl --with-pthread
INSTALLS_SHLIB=	yes

post-patch:
	@${REINPLACE_CMD} -e "s/-lpthread/${PTHREAD_LIBS}/g" ${WRKSRC}/configure

.include <bsd.port.mk>