diff options
author | edwin <edwin@FreeBSD.org> | 2014-05-11 19:49:49 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2014-05-11 19:49:49 +0800 |
commit | 4cff100622818f5cce5cbb9b4b4450800ff4fa11 (patch) | |
tree | ec1584035ef39568520259565ff667a69a6a9d10 /games | |
parent | e692d400545fb26af8f515f1b5d69c68d4b6efb9 (diff) | |
download | freebsd-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/Makefile | 7 | ||||
-rw-r--r-- | games/einstein/files/patch-Makefile | 2 |
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@@ ######################################## # |