ports/78135: [PATCH] math/p5-NetCDF: fix PLIST
Yen-Ming Lee
leeym at FreeBSD.org
Sun Feb 27 04:50:09 UTC 2005
>Number: 78135
>Category: ports
>Synopsis: [PATCH] math/p5-NetCDF: fix PLIST
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 27 04:50:08 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.3-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-STABLE FreeBSD 5.3-STABLE #1: Wed Feb 9 10:20:03 CST
>Description:
- remove doc_*_install target to avoid install perllocal.pod
- add some minor fixes and make it portlint clean
Port maintainer (rand at meridian-enviro.com) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- p5-NetCDF-1.2.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/math/p5-NetCDF/Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 Makefile
--- Makefile 20 Feb 2005 08:08:46 -0000 1.3
+++ Makefile 27 Feb 2005 04:46:50 -0000
@@ -10,7 +10,8 @@
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 at meridian-enviro.com
COMMENT= Perl5 module to read and write netCDF files
@@ -19,11 +20,15 @@
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${PREFIX}/include LD_NETCDF=-lnetcdf \
+ PERL_MANDIR=${PREFIX}/lib/perl5/${PERL_VERSION}/man
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>
--- p5-NetCDF-1.2.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list