diff options
author | leeym <leeym@FreeBSD.org> | 2005-03-01 15:32:07 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2005-03-01 15:32:07 +0800 |
commit | 7c8cad102f1f92182c6d328599374f6cbf03bc6b (patch) | |
tree | 96b52353c5f5719f3238b2a44182a22ec24159aa /math | |
parent | e2d940da251a58c724ef4020784a9635ec030e57 (diff) | |
download | freebsd-ports-gnome-7c8cad102f1f92182c6d328599374f6cbf03bc6b.tar.gz freebsd-ports-gnome-7c8cad102f1f92182c6d328599374f6cbf03bc6b.tar.zst freebsd-ports-gnome-7c8cad102f1f92182c6d328599374f6cbf03bc6b.zip |
- remove doc_*_install target to avoid install perllocal.pod
- add some minor fixes and make it portlint clean
PR: 78135
Submitted by: leeym
Approved by: rand@meridian-enviro.com
Diffstat (limited to 'math')
-rw-r--r-- | math/p5-NetCDF/Makefile | 16 | ||||
-rw-r--r-- | math/p5-NetCDF/pkg-plist | 1 |
2 files changed, 9 insertions, 8 deletions
diff --git a/math/p5-NetCDF/Makefile b/math/p5-NetCDF/Makefile index 7d748068c597..1ae34c84c067 100644 --- a/math/p5-NetCDF/Makefile +++ b/math/p5-NetCDF/Makefile @@ -10,22 +10,24 @@ PORTVERSION= 1.2.2 CATEGORIES= math perl5 MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/netcdf-perl/ PKGNAMEPREFIX= p5- -DISTFILES= netcdf-perl-${PORTVERSION}.tar.Z +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.1:${PORTSDIR}/math/netcdf -BROKEN= Installs perllocal.pod file - USE_PERL5= yes -WRKSRC= ${WRKDIR}/netcdf-perl-${PORTVERSION}/src -HAS_CONFIGURE= yes -CONFIGURE_ENV= CPP_NETCDF=-I${PREFIX}/include LD_NETCDF=-lnetcdf PERL_MANDIR=${PREFIX}/lib/perl5/${PERL_VERSION}/man +WRKSRC= ${WRKDIR}/${DISTNAME}/src +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPP_NETCDF=-I${LOCALBASE}/include LD_NETCDF=-lnetcdf \ + PERL_MANDIR=${MAN1PREFIX}/man PERL=${PERL5} -MAN1PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN1= netCDFPerl.1 +pre-install: + @${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' ${WRKSRC}/perl/Makefile + .include <bsd.port.mk> diff --git a/math/p5-NetCDF/pkg-plist b/math/p5-NetCDF/pkg-plist index 39518e6e26d0..74d7a8d3a783 100644 --- a/math/p5-NetCDF/pkg-plist +++ b/math/p5-NetCDF/pkg-plist @@ -4,4 +4,3 @@ %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetCDF/autosplit.ix %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetCDF/.packlist @unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetCDF 2>/dev/null || true -@unexec rmdir %D/lib/perl5/%%PERL_VERSION%%/man/man1 2>/dev/null || true |