Fix staging

This commit is contained in:
Edwin Groothuis 2014-05-11 11:49:49 +00:00
parent 3b1ce093e5
commit 3dfab1bed4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353678
2 changed files with 7 additions and 2 deletions

View file

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

View file

@ -5,7 +5,7 @@
# installation prefix
-PREFIX=/usr/local
+#PREFIX=/usr/local
+PREFIX=@@STAGEDIR@@@@PREFIX@@
########################################
#