mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
a63f38bc06
- Bump PORTREVISION for science/netcdf shlib change and dependency change from science/netcdf4 to science/netcdf [1] Changes: http://www.unidata.ucar.edu/software/netcdf/docs/release_notes.html Approved by: portmgr (bapt) [1]
31 lines
914 B
Makefile
31 lines
914 B
Makefile
# Created by: Douglas K. Rand (rand@meridian-enviro.com)
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= NetCDF
|
|
PORTVERSION= 1.2.4
|
|
PORTREVISION= 2
|
|
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:${PORTSDIR}/science/netcdf
|
|
|
|
USES= perl5
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPP_NETCDF=-I${LOCALBASE}/include LD_NETCDF=-lnetcdf \
|
|
PERL_MANDIR=${STAGEDIR}${MAN1PREFIX}/man PERL=${PERL5}
|
|
|
|
pre-install:
|
|
@${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' ${WRKSRC}/perl/Makefile
|
|
|
|
post-install:
|
|
-@[ -d ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto ] && ${FIND} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto -name .packlist -exec ${SED} -i '' 's|^${STAGEDIR}||' '{}' \;
|
|
|
|
.include <bsd.port.mk>
|