diff options
author | jmz <jmz@FreeBSD.org> | 1998-12-05 03:05:33 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1998-12-05 03:05:33 +0000 |
commit | 5b4b053bcd4e6ebb6a3a5d888394518628b47903 (patch) | |
tree | cb6f66147a8e8248bebc0f9eaa6234a4482d8c4c /graphics/pgperl | |
parent | ca7b937658ce5a481b02f70c7afd7f5cbbad3567 (diff) | |
download | FreeBSD-ports-5b4b053bcd4e6ebb6a3a5d888394518628b47903.zip FreeBSD-ports-5b4b053bcd4e6ebb6a3a5d888394518628b47903.tar.gz |
Unbreak.
Diffstat (limited to 'graphics/pgperl')
-rw-r--r-- | graphics/pgperl/Makefile | 10 | ||||
-rw-r--r-- | graphics/pgperl/scripts/configure | 14 |
2 files changed, 16 insertions, 8 deletions
diff --git a/graphics/pgperl/Makefile b/graphics/pgperl/Makefile index a506c3f..dfe2a17 100644 --- a/graphics/pgperl/Makefile +++ b/graphics/pgperl/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 <bsd.port.pre.mk> -.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/pgperl/scripts/configure b/graphics/pgperl/scripts/configure new file mode 100644 index 0000000..dead08a --- /dev/null +++ b/graphics/pgperl/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 \ + >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 + |