diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-08 07:14:28 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-08 07:14:28 +0000 |
commit | 27f5e78ce81e7368fea14b28e129cc1202caadbc (patch) | |
tree | 5a9c27b945ac4d2729df33b0b260b24bd69fb60d /math/p5-NetCDF | |
parent | b8b0a09b5e8937e35e4a70cc4c0e8dc0820498db (diff) | |
download | ports-27f5e78ce81e7368fea14b28e129cc1202caadbc.tar.gz ports-27f5e78ce81e7368fea14b28e129cc1202caadbc.zip |
Suppor stage
Notes
Notes:
svn path=/head/; revision=350575
Diffstat (limited to 'math/p5-NetCDF')
-rw-r--r-- | math/p5-NetCDF/Makefile | 12 | ||||
-rw-r--r-- | math/p5-NetCDF/pkg-plist | 1 |
2 files changed, 7 insertions, 6 deletions
diff --git a/math/p5-NetCDF/Makefile b/math/p5-NetCDF/Makefile index 6a9e28aecf86..9e2c875f92f1 100644 --- a/math/p5-NetCDF/Makefile +++ b/math/p5-NetCDF/Makefile @@ -15,9 +15,9 @@ COMMENT= Perl5 module to read and write netCDF files NETCDF_VER?= 4 .if (${NETCDF_VER} == 4) -LIB_DEPENDS= netcdf.7:${PORTSDIR}/science/netcdf4 +LIB_DEPENDS= libnetcdf.so.7:${PORTSDIR}/science/netcdf4 .else -LIB_DEPENDS= netcdf.4:${PORTSDIR}/science/netcdf +LIB_DEPENDS= libnetcdf.so.4:${PORTSDIR}/science/netcdf .endif USES= perl5 @@ -25,12 +25,12 @@ USES= perl5 WRKSRC= ${WRKDIR}/${DISTNAME}/src GNU_CONFIGURE= yes CONFIGURE_ENV= CPP_NETCDF=-I${LOCALBASE}/include LD_NETCDF=-lnetcdf \ - PERL_MANDIR=${MAN1PREFIX}/man PERL=${PERL5} + PERL_MANDIR=${STAGEDIR}${MAN1PREFIX}/man PERL=${PERL5} -MAN1= netCDFPerl.1 - -NO_STAGE= yes 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> diff --git a/math/p5-NetCDF/pkg-plist b/math/p5-NetCDF/pkg-plist index 22d3cbde0b7b..56f7ff39119c 100644 --- a/math/p5-NetCDF/pkg-plist +++ b/math/p5-NetCDF/pkg-plist @@ -1,3 +1,4 @@ +man/man1/netCDFPerl.1.gz %%SITE_PERL%%/%%PERL_ARCH%%/NetCDF.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetCDF/NetCDF.so %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetCDF/NetCDF.bs |