aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2006-06-26 19:21:39 +0800
committerjmz <jmz@FreeBSD.org>2006-06-26 19:21:39 +0800
commit3e4abed488a33531feee01479eba078b05394571 (patch)
treef70c1f9670c1859b9bac8c30020789b0bd2cd8a1
parentcd848141595bfd7c07ddd4681ccde7b2afd432b1 (diff)
downloadfreebsd-ports-gnome-3e4abed488a33531feee01479eba078b05394571.tar.gz
freebsd-ports-gnome-3e4abed488a33531feee01479eba078b05394571.tar.zst
freebsd-ports-gnome-3e4abed488a33531feee01479eba078b05394571.zip
- 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 PR: ports/99012 Submitted by: Aaron Dalton <aaron@freebsd.org>
-rw-r--r--graphics/p5-PGPLOT/Makefile16
-rw-r--r--graphics/p5-PGPLOT/distinfo6
-rw-r--r--graphics/p5-PGPLOT/pkg-descr1
-rw-r--r--graphics/p5-PGPLOT/pkg-plist33
-rw-r--r--graphics/p5-PGPLOT/scripts/configure4
-rw-r--r--graphics/pgperl/Makefile16
-rw-r--r--graphics/pgperl/distinfo6
-rw-r--r--graphics/pgperl/pkg-descr1
-rw-r--r--graphics/pgperl/pkg-plist33
-rw-r--r--graphics/pgperl/scripts/configure4
10 files changed, 62 insertions, 58 deletions
diff --git a/graphics/p5-PGPLOT/Makefile b/graphics/p5-PGPLOT/Makefile
index 474cdb3e18ca..00896bf5bac6 100644
--- a/graphics/p5-PGPLOT/Makefile
+++ b/graphics/p5-PGPLOT/Makefile
@@ -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 @@ MAINTAINER= jmz@FreeBSD.org
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 @@ INSTALL_TARGET= pure_install
.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>
diff --git a/graphics/p5-PGPLOT/distinfo b/graphics/p5-PGPLOT/distinfo
index aa7f7183d713..d080d070a701 100644
--- a/graphics/p5-PGPLOT/distinfo
+++ b/graphics/p5-PGPLOT/distinfo
@@ -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
diff --git a/graphics/p5-PGPLOT/pkg-descr b/graphics/p5-PGPLOT/pkg-descr
index 76c77c053b5e..dafbee7117c3 100644
--- a/graphics/p5-PGPLOT/pkg-descr
+++ b/graphics/p5-PGPLOT/pkg-descr
@@ -9,6 +9,7 @@ information and the file pgperl.doc on how to use pgplot from perl.
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@cpan.org>
Karl Glazebrook,
---
diff --git a/graphics/p5-PGPLOT/pkg-plist b/graphics/p5-PGPLOT/pkg-plist
index 85a18566a5d1..e9905f3127a1 100644
--- a/graphics/p5-PGPLOT/pkg-plist
+++ b/graphics/p5-PGPLOT/pkg-plist
@@ -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
-@dirrm share/doc/pgperl
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
diff --git a/graphics/p5-PGPLOT/scripts/configure b/graphics/p5-PGPLOT/scripts/configure
index dead08ab2a0d..49d05d2dc7f6 100644
--- a/graphics/p5-PGPLOT/scripts/configure
+++ b/graphics/p5-PGPLOT/scripts/configure
@@ -8,7 +8,7 @@ sed -e s:/usr/local/pgplot:$PREFIX/lib: \
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
diff --git a/graphics/pgperl/Makefile b/graphics/pgperl/Makefile
index 474cdb3e18ca..00896bf5bac6 100644
--- a/graphics/pgperl/Makefile
+++ b/graphics/pgperl/Makefile
@@ -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 @@ MAINTAINER= jmz@FreeBSD.org
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 @@ INSTALL_TARGET= pure_install
.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>
diff --git a/graphics/pgperl/distinfo b/graphics/pgperl/distinfo
index aa7f7183d713..d080d070a701 100644
--- a/graphics/pgperl/distinfo
+++ b/graphics/pgperl/distinfo
@@ -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
diff --git a/graphics/pgperl/pkg-descr b/graphics/pgperl/pkg-descr
index 76c77c053b5e..dafbee7117c3 100644
--- a/graphics/pgperl/pkg-descr
+++ b/graphics/pgperl/pkg-descr
@@ -9,6 +9,7 @@ information and the file pgperl.doc on how to use pgplot from perl.
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@cpan.org>
Karl Glazebrook,
---
diff --git a/graphics/pgperl/pkg-plist b/graphics/pgperl/pkg-plist
index 85a18566a5d1..e9905f3127a1 100644
--- a/graphics/pgperl/pkg-plist
+++ b/graphics/pgperl/pkg-plist
@@ -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
-@dirrm share/doc/pgperl
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
diff --git a/graphics/pgperl/scripts/configure b/graphics/pgperl/scripts/configure
index dead08ab2a0d..49d05d2dc7f6 100644
--- a/graphics/pgperl/scripts/configure
+++ b/graphics/pgperl/scripts/configure
@@ -8,7 +8,7 @@ sed -e s:/usr/local/pgplot:$PREFIX/lib: \
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