aboutsummaryrefslogtreecommitdiff
path: root/math/p5-NetCDF/Makefile
blob: 7b15f1db82f448dc1b3cb5ed99b89bdd8a600d7f (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
# Created by: Douglas K. Rand (rand@meridian-enviro.com)

PORTNAME=	NetCDF
PORTVERSION=	1.2.4
PORTREVISION=	7
CATEGORIES=	math perl5
MASTER_SITES=	ftp://ftp.unidata.ucar.edu/pub/netcdf-perl/
PKGNAMEPREFIX=	p5-
DISTNAME=	netcdf-perl-${PORTVERSION}

MAINTAINER=	rand@meridian-enviro.com
COMMENT=	Perl5 module to read and write netCDF files

LIB_DEPENDS=	libnetcdf.so:science/netcdf

USES=		perl5 fakeroot

WRKSRC_SUBDIR=		src
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPP_NETCDF=-I${LOCALBASE}/include LD_NETCDF=-lnetcdf \
		PERL_MANDIR=${STAGEDIR}${SITE_PERL}/man PERL=${PERL}

pre-install:
	@${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' ${WRKSRC}/perl/Makefile

.include <bsd.port.mk>