mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
- 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>
This commit is contained in:
parent
a988163169
commit
cdc019b46b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166350
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
---
|
||||
|
@ -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%%
|
||||
|
4
graphics/p5-PGPLOT/scripts/configure
vendored
4
graphics/p5-PGPLOT/scripts/configure
vendored
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
---
|
||||
|
@ -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%%
|
||||
|
4
graphics/pgperl/scripts/configure
vendored
4
graphics/pgperl/scripts/configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user