svn commit: r353678 - in head/games/einstein: . files

Edwin Groothuis edwin at FreeBSD.org
Sun May 11 11:49:50 UTC 2014


Author: edwin
Date: Sun May 11 11:49:49 2014
New Revision: 353678
URL: http://svnweb.freebsd.org/changeset/ports/353678
QAT: https://qat.redports.org/buildarchive/r353678/

Log:
  Fix staging

Modified:
  head/games/einstein/Makefile
  head/games/einstein/files/patch-Makefile

Modified: head/games/einstein/Makefile
==============================================================================
--- head/games/einstein/Makefile	Sun May 11 11:47:31 2014	(r353677)
+++ head/games/einstein/Makefile	Sun May 11 11:49:49 2014	(r353678)
@@ -14,7 +14,12 @@ COMMENT=	Remake of old DOS game Sherlock
 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}
 

Modified: head/games/einstein/files/patch-Makefile
==============================================================================
--- head/games/einstein/files/patch-Makefile	Sun May 11 11:47:31 2014	(r353677)
+++ head/games/einstein/files/patch-Makefile	Sun May 11 11:49:49 2014	(r353678)
@@ -5,7 +5,7 @@
  
  # installation prefix
 -PREFIX=/usr/local
-+#PREFIX=/usr/local
++PREFIX=@@STAGEDIR@@@@PREFIX@@
  
  ########################################
  #


More information about the svn-ports-all mailing list