aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2014-05-11 19:49:49 +0800
committeredwin <edwin@FreeBSD.org>2014-05-11 19:49:49 +0800
commit4cff100622818f5cce5cbb9b4b4450800ff4fa11 (patch)
treeec1584035ef39568520259565ff667a69a6a9d10 /games
parente692d400545fb26af8f515f1b5d69c68d4b6efb9 (diff)
downloadfreebsd-ports-gnome-4cff100622818f5cce5cbb9b4b4450800ff4fa11.tar.gz
freebsd-ports-gnome-4cff100622818f5cce5cbb9b4b4450800ff4fa11.tar.zst
freebsd-ports-gnome-4cff100622818f5cce5cbb9b4b4450800ff4fa11.zip
Fix staging
Diffstat (limited to 'games')
-rw-r--r--games/einstein/Makefile7
-rw-r--r--games/einstein/files/patch-Makefile2
2 files changed, 7 insertions, 2 deletions
diff --git a/games/einstein/Makefile b/games/einstein/Makefile
index 7e85082a9e0c..b3136b0bc180 100644
--- a/games/einstein/Makefile
+++ b/games/einstein/Makefile
@@ -14,7 +14,12 @@ COMMENT= Remake of old DOS game Sherlock, which was inspired by Albert Einstein'
USE_SDL= sdl ttf mixer
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-NO_STAGE= yes
+post-patch:
+ ${REINPLACE_CMD} \
+ -e "s,@@STAGEDIR@@,${STAGEDIR}," \
+ -e "s,@@PREFIX@@,${PREFIX}," \
+ ${WRKSRC}/Makefile
+
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/games/einstein/files/patch-Makefile b/games/einstein/files/patch-Makefile
index 00cbc26156e3..7889aa9bca05 100644
--- a/games/einstein/files/patch-Makefile
+++ b/games/einstein/files/patch-Makefile
@@ -5,7 +5,7 @@
# installation prefix
-PREFIX=/usr/local
-+#PREFIX=/usr/local
++PREFIX=@@STAGEDIR@@@@PREFIX@@
########################################
#