diff options
author | agc <agc> | 2001-10-26 10:43:54 +0000 |
---|---|---|
committer | agc <agc> | 2001-10-26 10:43:54 +0000 |
commit | dbf6d02ac90c1100ed7ff099f891db57b110ba1e (patch) | |
tree | 2c3aefb68d0bb84b3b78730e8dce648a73aaad40 /games/crossfire-srv | |
parent | 93488b14bb8ba07143591d24e94757a6f33b2c24 (diff) | |
download | pkgsrc-dbf6d02ac90c1100ed7ff099f891db57b110ba1e.tar.gz |
The post-patch script did the same job, at the same time, as the newer
REPLACE_PERL definition does, so convert this package to use REPLACE_PERL.
Remove now unnecessary post-patch script.
Diffstat (limited to 'games/crossfire-srv')
-rw-r--r-- | games/crossfire-srv/Makefile | 11 | ||||
-rwxr-xr-x | games/crossfire-srv/scripts/post-patch | 14 |
2 files changed, 9 insertions, 16 deletions
diff --git a/games/crossfire-srv/Makefile b/games/crossfire-srv/Makefile index aac62b0326c..0747335ab9c 100644 --- a/games/crossfire-srv/Makefile +++ b/games/crossfire-srv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/08/01 16:26:56 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2001/10/26 10:43:54 agc Exp $ # DISTNAME= crossfire-1.0.0 @@ -24,10 +24,17 @@ USE_X11= yes USE_GMAKE= yes GNU_CONFIGURE= yes USE_PERL5= yes -SCRIPTS_ENV+= ${SCRIPTSDIR} CONFIGURE_ARGS+= --prefix=${LOCALBASE} CONFIGURE_ARGS+= --with-includes=-I${LOCALBASE}/include +REPLACE_PERL= lib/xpmtopix.pl lib/adm/check-xpm.pl lib/adm/make_xpm_file.pl +REPLACE_PERL+= lib/adm/map_expand.pl lib/adm/mapslitter.pl +REPLACE_PERL+= lib/adm/archsearch.pl lib/adm/collect_images.pl +REPLACE_PERL+= lib/collect.pl lib/util.pl lib/checkarch.pl +REPLACE_PERL+= utils/crossloop.pl utils/metaserver.pl +REPLACE_PERL+= doc/include_html.pl doc/playbook/make_index.pl +REPLACE_PERL+= doc/spoiler-html/makeps.pl + post-install: cd ${LOCALBASE}/share/crossfire && \ ${GZCAT} ${DISTDIR}/${CF_MAPS} | ${GTAR} xmf - diff --git a/games/crossfire-srv/scripts/post-patch b/games/crossfire-srv/scripts/post-patch deleted file mode 100755 index 139d9dd11cc..00000000000 --- a/games/crossfire-srv/scripts/post-patch +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -# -# $NetBSD: post-patch,v 1.1.1.1 2000/12/13 08:18:06 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 |