aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1999-12-08 05:39:57 +0800
committerjmz <jmz@FreeBSD.org>1999-12-08 05:39:57 +0800
commitd827890c887d8fd18ce02f4a8e3a772770ddbe43 (patch)
tree6e42277154673ff43064df11074c42d6dd6c062b
parentbf2e108bfcb4c890e394b5c66ae5cdd16b9a52b4 (diff)
downloadfreebsd-ports-gnome-d827890c887d8fd18ce02f4a8e3a772770ddbe43.tar.gz
freebsd-ports-gnome-d827890c887d8fd18ce02f4a8e3a772770ddbe43.tar.zst
freebsd-ports-gnome-d827890c887d8fd18ce02f4a8e3a772770ddbe43.zip
Upgrade to version 2.15, use MASTER_SITE_PERL_CPAN.
-rw-r--r--graphics/p5-PGPLOT/Makefile23
-rw-r--r--graphics/pgperl/Makefile23
2 files changed, 14 insertions, 32 deletions
diff --git a/graphics/p5-PGPLOT/Makefile b/graphics/p5-PGPLOT/Makefile
index 32af1e64dc16..5c90dcc25d25 100644
--- a/graphics/p5-PGPLOT/Makefile
+++ b/graphics/p5-PGPLOT/Makefile
@@ -1,19 +1,20 @@
# New ports collection makefile for: pgperl
-# Version required: 2.06
+# Version required: 2.15
# Date created: 22 December 1996
# Whom: jmz
#
# $FreeBSD$
#
-DISTNAME= PGPLOT-2.08
-PKGNAME= pgperl-2.08
+DISTNAME= PGPLOT-2.15
+PKGNAME= pgperl-2.15
CATEGORIES= graphics perl5
-MASTER_SITES= ftp://ftp.ast.cam.ac.uk/pgperl/
-
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= PGPLOT
MAINTAINER= jmz@FreeBSD.org
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
+BUILD_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/ExtUtils/F77.pm
USE_PERL5= yes
ALL_TARGET= dynamic
@@ -21,19 +22,9 @@ SCRIPTS_ENV= PERL=${PERL}
.include <bsd.port.pre.mk>
-MAN3= ExtUtils::F77.3 PGPLOT.3
+MAN3= PGPLOT.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-.if ${OSVERSION} >= 400005
-F2CLIB= -lg2c
-.else
-F2CLIB= -lf2c
-.endif
-
-post-patch:
- (cd ${WRKSRC}/ExtUtils; ${MV} -f F77.pm F77.pm~; ${SED} -e \
- 's/@F2CLIB@/${F2CLIB}/g' F77.pm~ > F77.pm)
-
post-install:
@${MKDIR} ${PREFIX}/share/doc/pgperl
@(cd ${WRKSRC}; ${INSTALL_DATA} LICENSE test* \
diff --git a/graphics/pgperl/Makefile b/graphics/pgperl/Makefile
index 32af1e64dc16..5c90dcc25d25 100644
--- a/graphics/pgperl/Makefile
+++ b/graphics/pgperl/Makefile
@@ -1,19 +1,20 @@
# New ports collection makefile for: pgperl
-# Version required: 2.06
+# Version required: 2.15
# Date created: 22 December 1996
# Whom: jmz
#
# $FreeBSD$
#
-DISTNAME= PGPLOT-2.08
-PKGNAME= pgperl-2.08
+DISTNAME= PGPLOT-2.15
+PKGNAME= pgperl-2.15
CATEGORIES= graphics perl5
-MASTER_SITES= ftp://ftp.ast.cam.ac.uk/pgperl/
-
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= PGPLOT
MAINTAINER= jmz@FreeBSD.org
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
+BUILD_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/ExtUtils/F77.pm
USE_PERL5= yes
ALL_TARGET= dynamic
@@ -21,19 +22,9 @@ SCRIPTS_ENV= PERL=${PERL}
.include <bsd.port.pre.mk>
-MAN3= ExtUtils::F77.3 PGPLOT.3
+MAN3= PGPLOT.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-.if ${OSVERSION} >= 400005
-F2CLIB= -lg2c
-.else
-F2CLIB= -lf2c
-.endif
-
-post-patch:
- (cd ${WRKSRC}/ExtUtils; ${MV} -f F77.pm F77.pm~; ${SED} -e \
- 's/@F2CLIB@/${F2CLIB}/g' F77.pm~ > F77.pm)
-
post-install:
@${MKDIR} ${PREFIX}/share/doc/pgperl
@(cd ${WRKSRC}; ${INSTALL_DATA} LICENSE test* \