1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/games/crossfire-client/scripts/pre-configure
Andreas Klemm 893dd4b607 Update to newest version 0.94.1
Make port PREFIX clean
solve gettimeofday compile problem (patch-ao)
sanitize order of header file inclusion in common/porting.c
	so that MIN and MAX don't get redefined (patch-ap)
updated PLIST
added dirrm statements in PLIST to allow proper removal of package
1998-05-08 13:51:37 +00:00

20 lines
445 B
Bash

#! /bin/sh
# $Id$
#
# patch hacks !!LOCALBASE!! and !!X11BASE!! hooks into the config file
# here we resolve finally our - via /etc/make.conf - variable include
# and destination directories
# -andreas
#
echo "adjusting paths in ${WRKSRC}/config/crosssite.def"
perl -pi -e "s=!!LOCALBASE!!=$LOCALBASE=" ${WRKSRC}/config/crosssite.def \
|| exit 1
perl -pi -e "s=!!X11BASE!!=$X11BASE=" ${WRKSRC}/config/crosssite.def \
|| exit 1
exit 0