From 4635dfdee241d5bc644be7c5970007a0cb0b86e8 Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Mon, 1 Feb 2010 02:18:26 +0000 Subject: - use $SUB_FILES to dynamically adjust pkg-message PR: ports/142528 Submitted by: Sevan Janiyan Approved by: maintainer timeout (devel@stasyan.com; > 2 weeks) --- games/blockout/Makefile | 3 ++- games/blockout/files/pkg-message.in | 8 ++++++++ games/blockout/pkg-message | 8 -------- 3 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 games/blockout/files/pkg-message.in delete mode 100644 games/blockout/pkg-message (limited to 'games/blockout') diff --git a/games/blockout/Makefile b/games/blockout/Makefile index d9a1229fe823..f7ecb6daea28 100644 --- a/games/blockout/Makefile +++ b/games/blockout/Makefile @@ -26,6 +26,7 @@ WRKSRC= ${WRKDIR}/bl24_lin_src BUILD_WRKSRC= ${WRKSRC}/BlockOut FETCH_ARGS?= -pRr +SUB_FILES= pkg-message pre-build: cd ${WRKSRC}/ImageLib/src && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} @@ -45,6 +46,6 @@ marbleg menuback menucredits menufont menufont2 menupit online onlinea spark spa . endfor ${INSTALL_DATA} ${WRKSRC}/BlockOut/sounds/music.mp3 ${DATADIR}/sounds post-install: - ${SED} -e "/%%PREFIX%%/s//${PREFIX:S/\//\\\//g}/g" ${PKGMESSAGE}; + @{CAT} {PKGMESSAGE} .include diff --git a/games/blockout/files/pkg-message.in b/games/blockout/files/pkg-message.in new file mode 100644 index 000000000000..c1a8d90c0d8f --- /dev/null +++ b/games/blockout/files/pkg-message.in @@ -0,0 +1,8 @@ + +************************************************************************* + + Set the environment variable: + + BL2_HOME=%%PREFIX%%/share/blockout + +************************************************************************* diff --git a/games/blockout/pkg-message b/games/blockout/pkg-message deleted file mode 100644 index c1a8d90c0d8f..000000000000 --- a/games/blockout/pkg-message +++ /dev/null @@ -1,8 +0,0 @@ - -************************************************************************* - - Set the environment variable: - - BL2_HOME=%%PREFIX%%/share/blockout - -************************************************************************* -- cgit v1.2.3