diff options
author | agc <agc> | 2001-10-26 10:14:48 +0000 |
---|---|---|
committer | agc <agc> | 2001-10-26 10:14:48 +0000 |
commit | 93488b14bb8ba07143591d24e94757a6f33b2c24 (patch) | |
tree | 221ed69ffebcd837295121dffe5905d0b358dcf3 /games | |
parent | 637a246363033fc60c19d9e0533460dbde684e96 (diff) | |
download | pkgsrc-93488b14bb8ba07143591d24e94757a6f33b2c24.tar.gz |
The post-patch script was doing the same job that the REPLACE_PERL
definition does, so use REPLACE_PERL instead of a custom script.
Diffstat (limited to 'games')
-rw-r--r-- | games/crossfire-cli/Makefile | 4 | ||||
-rwxr-xr-x | games/crossfire-cli/scripts/post-patch | 14 |
2 files changed, 3 insertions, 15 deletions
diff --git a/games/crossfire-cli/Makefile b/games/crossfire-cli/Makefile index b0a7b1c5151..2c0872d4502 100644 --- a/games/crossfire-cli/Makefile +++ b/games/crossfire-cli/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2001/07/19 00:24:02 garbled Exp $ +# $NetBSD: Makefile,v 1.10 2001/10/26 10:14:48 agc Exp $ # DISTNAME= crossfire-client-1.0.0 @@ -29,6 +29,8 @@ CONFIGURE_ARGS+= --prefix=${LOCALBASE} CONFIGURE_ARGS+= --with-includes=-I${LOCALBASE}/include CONFIGURE_ARGS+= --with-sound-dir=${LOCALBASE}/share/cfclient/sounds +REPLACE_PERL= utils/deftoheader.pl items.pl + pre-build: cd ${WRKSRC} && ${MAKE} soundsdef.h diff --git a/games/crossfire-cli/scripts/post-patch b/games/crossfire-cli/scripts/post-patch deleted file mode 100755 index 49e105f7cce..00000000000 --- a/games/crossfire-cli/scripts/post-patch +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -# -# $NetBSD: post-patch,v 1.1.1.1 2000/12/13 08:19:21 garbled Exp $ -# -#this script changes all the /usr/local/bin/perl stuff to what it should be. - -pl=`which perl | sed 's/\//\\\\\\//g'` -find ${WRKDIR} -name \*.pl | ( - while read a; do - cp $a tmp - sed "s/#! *\/usr\/local\/bin\/perl/#!$pl/" tmp > $a - done; -) -rm tmp |