mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
8d6597e0bb
With hat: portmgr Sponsored by: Absolight
28 lines
712 B
Makefile
28 lines
712 B
Makefile
# Created by: Douglas K. Rand (rand@meridian-enviro.com)
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= NetCDF
|
|
PORTVERSION= 1.2.4
|
|
PORTREVISION= 4
|
|
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>
|