1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- 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)
This commit is contained in:
Philip M. Gollucci 2010-02-01 02:18:26 +00:00
parent c45ee2f88e
commit 4635dfdee2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248995
2 changed files with 2 additions and 1 deletions

View File

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