From d23638e56836630e6634aea73b42545125536247 Mon Sep 17 00:00:00 2001 From: Jean-Marc Zucconi Date: Sat, 5 Dec 1998 03:05:33 +0000 Subject: Unbreak. --- graphics/p5-PGPLOT/Makefile | 10 ++-------- graphics/p5-PGPLOT/scripts/configure | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 graphics/p5-PGPLOT/scripts/configure (limited to 'graphics/p5-PGPLOT') diff --git a/graphics/p5-PGPLOT/Makefile b/graphics/p5-PGPLOT/Makefile index a506c3ffd489..dfe2a17f470b 100644 --- a/graphics/p5-PGPLOT/Makefile +++ b/graphics/p5-PGPLOT/Makefile @@ -3,7 +3,7 @@ # Date created: 22 December 1996 # Whom: jmz # -# $Id: Makefile,v 1.11 1998/10/12 03:21:40 jseger Exp $ +# $Id: Makefile,v 1.12 1998/11/11 05:37:20 asami Exp $ # DISTNAME= PGPLOT-2.08 @@ -17,19 +17,13 @@ LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot USE_PERL5= yes ALL_TARGET= dynamic +SCRIPTS_ENV= PERL=${PERL} .include -.if ${OSVERSION} >= 300000 -BROKEN= depends on pgplot -.endif - MAN3= ExtUtils::F77.3 PGPLOT.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -do-configure: - @cd ${WRKSRC} && ${PERL5} Makefile.PL - post-install: @${MKDIR} ${PREFIX}/share/doc/pgperl @(cd ${WRKSRC}; ${INSTALL_DATA} LICENSE test* \ diff --git a/graphics/p5-PGPLOT/scripts/configure b/graphics/p5-PGPLOT/scripts/configure new file mode 100644 index 000000000000..dead08ab2a0d --- /dev/null +++ b/graphics/p5-PGPLOT/scripts/configure @@ -0,0 +1,14 @@ +#!/bin/sh + +cd $WRKSRC || exit 1 + +sed -e s:/usr/local/pgplot:$PREFIX/lib: \ + -e s:/home/aaossm/kgb/soft/pgplot/bld:$PREFIX/include: Makefile.PL.new +for f in test*.p*; do + mv $f old_$f + sed -e s:/usr/local/bin/perl:$PERL: < old_$f >$f +done + +$PERL Makefile.PL.new + -- cgit v1.2.3