summaryrefslogtreecommitdiff
path: root/games/crossfire-cli
diff options
context:
space:
mode:
authoragc <agc>2001-10-26 10:14:48 +0000
committeragc <agc>2001-10-26 10:14:48 +0000
commit01a0814e1f88bda2ed26313df139f73ae3f1ea88 (patch)
tree221ed69ffebcd837295121dffe5905d0b358dcf3 /games/crossfire-cli
parent77ed6c68dea278d9b4f61c6e4822e4a90d4c0ad8 (diff)
downloadpkgsrc-01a0814e1f88bda2ed26313df139f73ae3f1ea88.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/crossfire-cli')
-rw-r--r--games/crossfire-cli/Makefile4
-rwxr-xr-xgames/crossfire-cli/scripts/post-patch14
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