ports/99012: [PATCH] graphics/pgperl: update to 2.19
Aaron Dalton
aaron at FreeBSD.org
Fri Jun 16 06:40:16 UTC 2006
>Number: 99012
>Category: ports
>Synopsis: [PATCH] graphics/pgperl: update to 2.19
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 16 06:40:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Aaron Dalton
>Release: FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD moondance.itsy-bitsy.net 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC
>Description:
- Update to 2.19
- Patch Makefile.PL to see includes and libs
- Update Makefile and pkg-plist to respect NOPORTDOCS
- Update scripts/configure to respect PREFIX
Added file(s):
- files/patch-Makefile.PL
Port maintainer (jmz at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- pgperl-2.19.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/pgperl/Makefile,v
retrieving revision 1.27
diff -u -u -r1.27 Makefile
--- Makefile 31 Oct 2005 21:58:23 -0000 1.27
+++ Makefile 16 Jun 2006 06:28:12 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= pgperl
-PORTVERSION= 2.18
+PORTVERSION= 2.19
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= PGPLOT
@@ -16,7 +16,10 @@
COMMENT= A perl5 extension which makes available the pgplot library
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
-BUILD_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/ExtUtils/F77.pm:${PORTSDIR}/lang/p5-F77
+BUILD_DEPENDS= ${SITE_PERL}/ExtUtils/F77.pm:${PORTSDIR}/lang/p5-F77
+
+MAN3= PGPLOT.3
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
USE_PERL5= yes
SCRIPTS_ENV= PERL=${PERL}
@@ -24,12 +27,11 @@
.include <bsd.port.pre.mk>
-MAN3= PGPLOT.3
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-
+.ifndef(NOPORTDOCS)
post-install:
- @${MKDIR} ${PREFIX}/share/doc/pgperl
+ @${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}; ${INSTALL_DATA} LICENSE test* \
- ${PREFIX}/share/doc/pgperl)
+ ${EXAMPLESDIR})
+.endif
.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/graphics/pgperl/distinfo,v
retrieving revision 1.9
diff -u -u -r1.9 distinfo
--- distinfo 22 Jan 2006 12:35:05 -0000 1.9
+++ distinfo 16 Jun 2006 06:28:12 -0000
@@ -1,3 +1,3 @@
-MD5 (PGPLOT-2.18.tar.gz) = 0c27c49f6443eb4fdcc9eaee4c756c87
-SHA256 (PGPLOT-2.18.tar.gz) = 18b571be85cd3931e1f879c331691a7ad907c230fced9b2eb353bba41bcd2239
-SIZE (PGPLOT-2.18.tar.gz) = 48632
+MD5 (PGPLOT-2.19.tar.gz) = ec1914c7344026dc1b8c14bcf408e25e
+SHA256 (PGPLOT-2.19.tar.gz) = 5ffbd95c8403ac761427783c3a0ff732987f3379096dfe731cdcc0f463354832
+SIZE (PGPLOT-2.19.tar.gz) = 49364
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/graphics/pgperl/pkg-descr,v
retrieving revision 1.5
diff -u -u -r1.5 pkg-descr
--- pkg-descr 20 Nov 2001 23:49:26 -0000 1.5
+++ pkg-descr 16 Jun 2006 06:28:12 -0000
@@ -9,6 +9,7 @@
This is also similar documentation on the pgperl WWW Home Page at:
WWW: http://www.aao.gov.au/local/www/kgb/pgperl/
+Author: Yung-chung Lin <xern at cpan.org>
Karl Glazebrook,
---
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/graphics/pgperl/pkg-plist,v
retrieving revision 1.11
diff -u -u -r1.11 pkg-plist
--- pkg-plist 24 Oct 2003 12:02:30 -0000 1.11
+++ pkg-plist 16 Jun 2006 06:28:12 -0000
@@ -1,22 +1,21 @@
%%SITE_PERL%%/%%PERL_ARCH%%/PGPLOT.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/old_test.pl
%%SITE_PERL%%/%%PERL_ARCH%%/auto/PGPLOT/PGPLOT.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/PGPLOT/PGPLOT.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/PGPLOT/.packlist
-share/doc/pgperl/LICENSE
-share/doc/pgperl/test.img
-share/doc/pgperl/test.pl
-share/doc/pgperl/test1.p
-share/doc/pgperl/test10.p
-share/doc/pgperl/test11.p
-share/doc/pgperl/test12.p
-share/doc/pgperl/test2.p
-share/doc/pgperl/test3.p
-share/doc/pgperl/test4.p
-share/doc/pgperl/test5.p
-share/doc/pgperl/test6.p
-share/doc/pgperl/test7.p
-share/doc/pgperl/test8.p
-share/doc/pgperl/test9.p
+%%PORTDOCS%%%%EXAMPLESDIR%%/LICENSE
+%%PORTDOCS%%%%EXAMPLESDIR%%/test.img
+%%PORTDOCS%%%%EXAMPLESDIR%%/test.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/test1.p
+%%PORTDOCS%%%%EXAMPLESDIR%%/test10.p
+%%PORTDOCS%%%%EXAMPLESDIR%%/test11.p
+%%PORTDOCS%%%%EXAMPLESDIR%%/test12.p
+%%PORTDOCS%%%%EXAMPLESDIR%%/test2.p
+%%PORTDOCS%%%%EXAMPLESDIR%%/test3.p
+%%PORTDOCS%%%%EXAMPLESDIR%%/test4.p
+%%PORTDOCS%%%%EXAMPLESDIR%%/test5.p
+%%PORTDOCS%%%%EXAMPLESDIR%%/test6.p
+%%PORTDOCS%%%%EXAMPLESDIR%%/test7.p
+%%PORTDOCS%%%%EXAMPLESDIR%%/test8.p
+%%PORTDOCS%%%%EXAMPLESDIR%%/test9.p
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PGPLOT
- at dirrm share/doc/pgperl
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
Index: files/patch-Makefile.PL
===================================================================
RCS file: files/patch-Makefile.PL
diff -N files/patch-Makefile.PL
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-Makefile.PL 16 Jun 2006 06:28:12 -0000
@@ -0,0 +1,15 @@
+--- Makefile.PL.orig Tue Jan 3 09:08:30 2006
++++ Makefile.PL Fri Jun 16 00:20:13 2006
+@@ -31,10 +31,10 @@
+
+
+ # where cpgplot.h should be
+- IDIR => $ENV{PGPLOT_DIR} || '/usr/include',
++ IDIR => $ENV{PGPLOT_DIR} || '/usr/local/include',
+
+ # where libpgplot.a should be
+- LDIR => $ENV{PGPLOT_DIR} || '/usr/lib',
++ LDIR => $ENV{PGPLOT_DIR} || '/usr/local/lib',
+
+ # extra libraries and directories
+ EXLIB => '',
Index: scripts/configure
===================================================================
RCS file: /home/pcvs/ports/graphics/pgperl/scripts/configure,v
retrieving revision 1.1
diff -u -u -r1.1 configure
--- scripts/configure 5 Dec 1998 03:05:33 -0000 1.1
+++ scripts/configure 16 Jun 2006 06:28:12 -0000
@@ -8,7 +8,7 @@
for f in test*.p*; do
mv $f old_$f
sed -e s:/usr/local/bin/perl:$PERL: < old_$f >$f
+ rm old_$f
done
-$PERL Makefile.PL.new
-
+$PERL Makefile.PL.new PREFIX=$PREFIX
--- pgperl-2.19.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list