svn commit: r350575 - head/math/p5-NetCDF
Baptiste Daroussin
bapt at FreeBSD.org
Tue Apr 8 07:14:28 UTC 2014
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
More information about the svn-ports-head
mailing list