From owner-svn-ports-head@FreeBSD.ORG Tue Apr 8 07:14:28 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DAA06E10; Tue, 8 Apr 2014 07:14:28 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C7BAB1CC5; Tue, 8 Apr 2014 07:14:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s387ESh1072028; Tue, 8 Apr 2014 07:14:28 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s387ESdu072026; Tue, 8 Apr 2014 07:14:28 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201404080714.s387ESdu072026@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 8 Apr 2014 07:14:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350575 - head/math/p5-NetCDF X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2014 07:14:28 -0000 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 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