1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/math/p5-NetCDF/Makefile
Li-Wen Hsu db0bf94b4c science/netcdf
- Update to 3.6.2

graphics/gmt
math/grace
math/gri
math/p5-NetCDF
math/py-scientific
math/ruby-netcdf
science/gnudatalanguage
science/minc
science/minc2
science/v_sim
science/vis5d+
- Bump PORTREVISION for the changing of science/netcdf's major library version number

PR:		111347
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet AT sunpoet.net> (maintainer)
Approved by:	clsung (mentor)
2007-04-10 03:08:59 +00:00

35 lines
846 B
Makefile

# New ports collection makefile for: p5-NetCDF
# Date created: 2003-11-17
# Whom: Douglas K. Rand (rand@meridian-enviro.com)
#
# $FreeBSD$
#
PORTNAME= NetCDF
PORTVERSION= 1.2.2
PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/netcdf-perl/
PKGNAMEPREFIX= p5-
DISTNAME= netcdf-perl-${PORTVERSION}
EXTRACT_SUFX= .tar.Z
MAINTAINER= rand@meridian-enviro.com
COMMENT= Perl5 module to read and write netCDF files
LIB_DEPENDS= netcdf.4:${PORTSDIR}/science/netcdf
USE_PERL5= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPP_NETCDF=-I${LOCALBASE}/include LD_NETCDF=-lnetcdf \
PERL_MANDIR=${MAN1PREFIX}/man PERL=${PERL5}
MAN1= netCDFPerl.1
pre-install:
@${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' ${WRKSRC}/perl/Makefile
.include <bsd.port.mk>