Last "drop cp -a patch" commit
While here, move one hardcoded /sur/local to ${TRUEPREFIX}. ok phessler@ (maintainer)
This commit is contained in:
parent
0e37424fcf
commit
712514e6fd
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2017/05/11 20:50:55 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2019/05/07 20:32:32 jca Exp $
|
||||
|
||||
COMMENT = dungeon-crawling action-RPG adventure
|
||||
|
||||
DISTNAME = egoboo-2.7.4
|
||||
REVISION = 0
|
||||
CATEGORIES = games
|
||||
|
||||
MAINTAINER = Peter Hessler <phessler@openbsd.org>
|
||||
@ -27,7 +28,6 @@ EGOBOO_SHARED = ${PREFIX}/share/egoboo
|
||||
|
||||
pre-configure:
|
||||
@${SUBST_CMD} ${WRKSRC}/egoboo.sh
|
||||
@perl -pi -e 's,cp -a,cp, -RP,' ${WRKSRC}/egoboo.sh
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/egoboo ${PREFIX}/libexec/
|
||||
|
@ -1,11 +1,12 @@
|
||||
$OpenBSD: patch-game_egoboo_sh,v 1.1.1.1 2009/10/11 14:01:39 phessler Exp $
|
||||
--- game/egoboo.sh.orig Sat Apr 25 10:32:14 2009
|
||||
+++ game/egoboo.sh Sun Oct 11 15:34:16 2009
|
||||
$OpenBSD: patch-game_egoboo_sh,v 1.2 2019/05/07 20:32:32 jca Exp $
|
||||
Index: game/egoboo.sh
|
||||
--- game/egoboo.sh.orig
|
||||
+++ game/egoboo.sh
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
-EGOBOO_PREFIX=${HOME}/.local
|
||||
+EGOBOO_PREFIX="/usr/local"
|
||||
+EGOBOO_PREFIX="${TRUEPREFIX}"
|
||||
EGOBOO_SHARED="${EGOBOO_PREFIX}/share/egoboo"
|
||||
|
||||
# exit on any error
|
||||
|
Loading…
Reference in New Issue
Block a user