From 1efcb329751301f7dba5f296d6e9f808dac49aaf Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Thu, 21 Jan 2010 18:44:32 +0000 Subject: Use SUB_FILES for pkg-message instead of sed. PR: 142457 (based on) Submitted by: Sevan Janiyan --- emulators/pearpc/Makefile | 3 ++- emulators/pearpc/files/pkg-message.in | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'emulators/pearpc') diff --git a/emulators/pearpc/Makefile b/emulators/pearpc/Makefile index 217c5c0df222..07d4ed412259 100644 --- a/emulators/pearpc/Makefile +++ b/emulators/pearpc/Makefile @@ -29,6 +29,8 @@ CFLAGS+= -O3 -ffast-math CONFIGURE_ARGS+= --disable-fpo .endif +SUB_FILES= pkg-message + # GTK and QT ui are broken in this version # #.if defined(WITH_QT) @@ -93,7 +95,6 @@ post-configure: post-install: @${MKDIR} ${DATADIR} @${INSTALL_DATA} ${WRKSRC}/video.x ${DATADIR}/video.x - @${SED} -e 's,PREFIX,${PREFIX},g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} @${INSTALL_DATA} ${WRKSRC}/ppccfg.example ${PREFIX}/etc/ppccfg.example diff --git a/emulators/pearpc/files/pkg-message.in b/emulators/pearpc/files/pkg-message.in index 7c776fe43071..289c514d67ae 100644 --- a/emulators/pearpc/files/pkg-message.in +++ b/emulators/pearpc/files/pkg-message.in @@ -1,3 +1,3 @@ -Sample config file can be found at PREFIX/etc/ppccfg.example +Sample config file can be found at %%PREFIX%%/etc/ppccfg.example -- cgit v1.2.3