aboutsummaryrefslogtreecommitdiff
path: root/graphics/pgperl
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1999-12-07 21:39:57 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1999-12-07 21:39:57 +0000
commit995cae4c35bd9a4e0060911f44b20868e186d67b (patch)
tree2e85dae5c115700a3b20b8cd88bae8da99200c3f /graphics/pgperl
parentc7fd2bdededede5933382e3b3c20cd23b0688b2c (diff)
downloadports-995cae4c35bd9a4e0060911f44b20868e186d67b.tar.gz
ports-995cae4c35bd9a4e0060911f44b20868e186d67b.zip
Notes
Diffstat (limited to 'graphics/pgperl')
-rw-r--r--graphics/pgperl/Makefile23
1 files changed, 7 insertions, 16 deletions
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* \