Date: Tue, 8 Apr 2014 07:14:28 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350575 - head/math/p5-NetCDF Message-ID: <201404080714.s387ESdu072026@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Tue Apr 8 07:14:28 2014 New Revision: 350575 URL: http://svnweb.freebsd.org/changeset/ports/350575 QAT: https://qat.redports.org/buildarchive/r350575/ Log: Suppor stage Modified: head/math/p5-NetCDF/Makefile head/math/p5-NetCDF/pkg-plist Modified: head/math/p5-NetCDF/Makefile ============================================================================== --- head/math/p5-NetCDF/Makefile Tue Apr 8 07:10:52 2014 (r350574) +++ head/math/p5-NetCDF/Makefile Tue Apr 8 07:14:28 2014 (r350575) @@ -15,9 +15,9 @@ COMMENT= Perl5 module to read and write 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> Modified: head/math/p5-NetCDF/pkg-plist ============================================================================== --- head/math/p5-NetCDF/pkg-plist Tue Apr 8 07:10:52 2014 (r350574) +++ head/math/p5-NetCDF/pkg-plist Tue Apr 8 07:14:28 2014 (r350575) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404080714.s387ESdu072026>