summaryrefslogtreecommitdiff
path: root/graphics/p5-PGPLOT/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-PGPLOT/Makefile')
-rw-r--r--graphics/p5-PGPLOT/Makefile23
1 files changed, 7 insertions, 16 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* \