diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2010-01-21 18:44:32 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2010-01-21 18:44:32 +0000 |
commit | 1efcb329751301f7dba5f296d6e9f808dac49aaf (patch) | |
tree | 9f2e2ffd5e62fccf958319312d9e03c2bc49115f /emulators | |
parent | 22763787a8b1b30edb45cbde8ee21baa7944800c (diff) | |
download | ports-1efcb329751301f7dba5f296d6e9f808dac49aaf.tar.gz ports-1efcb329751301f7dba5f296d6e9f808dac49aaf.zip |
Use SUB_FILES for pkg-message instead of sed.
PR: 142457 (based on)
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Notes
Notes:
svn path=/head/; revision=248282
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/pearpc/Makefile | 3 | ||||
-rw-r--r-- | emulators/pearpc/files/pkg-message.in | 2 |
2 files changed, 3 insertions, 2 deletions
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 |