Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2005 12:47:47 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/78135: [PATCH] math/p5-NetCDF: fix PLIST
Message-ID:  <20050227044747.1BE523EA124@utopia.leeym.com>
Resent-Message-ID: <200502270450.j1R4o89J038978@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050227044747.1BE523EA124>