pkgsrc-wip/cdogs/patches/patch-ab
David Howland 9451c548f1 Update to version 0.4
changelog:
 * Windows build *gasp* (only tested on XP)
 * cdogs-editor can now be built (needs testing, however)
 * Sound panning implemented (when using SDL mixer)
 * Fast scaling (to a factor of 2, 3 or 4)
 * User interface placement smarter
 * More bug-fixes and cleanups
2008-02-29 05:03:30 +00:00

21 lines
548 B
Text

$NetBSD: patch-ab,v 1.1 2008/02/29 05:03:30 dhowland Exp $
--- install.sh.orig 2006-08-30 08:21:08.000000000 -0400
+++ install.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-function wantset () {
+wantset() {
local var=$1
eval "[ -z \"\$$var\" ] && echo \"$var needs to be set!\" && exit 1"
@@ -34,7 +34,7 @@ mkdir -p "${docpath}"
cp -R "${LOCALDOCS}" "${docpath}"
echo "** Installing binary **"
-binpath="${DESTDIR}/${DOCDIR}/"
+binpath="${DESTDIR}/${BINDIR}/"
mkdir -p "${binpath}"
cp "${PROG}" "${binpath}/${PROG}"
chmod +x "${binpath}/${PROG}"