aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-02-01 10:18:26 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-02-01 10:18:26 +0800
commit5c7b5af18fbf2ab4ec792a85c9be2a8acf343667 (patch)
treedf9ea4b3765b90af712d1a493e2a5aa59302e386 /games
parentefac8a4435b243b5ea6142273a6f847b6fc170af (diff)
downloadfreebsd-ports-gnome-5c7b5af18fbf2ab4ec792a85c9be2a8acf343667.tar.gz
freebsd-ports-gnome-5c7b5af18fbf2ab4ec792a85c9be2a8acf343667.tar.zst
freebsd-ports-gnome-5c7b5af18fbf2ab4ec792a85c9be2a8acf343667.zip
- use $SUB_FILES to dynamically adjust pkg-message
PR: ports/142528 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> Approved by: maintainer timeout (devel@stasyan.com; > 2 weeks)
Diffstat (limited to 'games')
-rw-r--r--games/blockout/Makefile3
-rw-r--r--games/blockout/files/pkg-message.in (renamed from games/blockout/pkg-message)0
2 files changed, 2 insertions, 1 deletions
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 <bsd.port.mk>
diff --git a/games/blockout/pkg-message b/games/blockout/files/pkg-message.in
index c1a8d90c0d8f..c1a8d90c0d8f 100644
--- a/games/blockout/pkg-message
+++ b/games/blockout/files/pkg-message.in