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@@ ######################################## #