diff options
author | novel <novel@FreeBSD.org> | 2010-01-22 02:44:32 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2010-01-22 02:44:32 +0800 |
commit | 818273aa589a956b17ecf0381ec5fcebca68b450 (patch) | |
tree | 1755adb84882461625eab0cfdf8fee45e737ab6d /emulators/pearpc | |
parent | 094a785bfe6ca84191e1dde93451c0a95f2236c1 (diff) | |
download | freebsd-ports-graphics-818273aa589a956b17ecf0381ec5fcebca68b450.tar.gz freebsd-ports-graphics-818273aa589a956b17ecf0381ec5fcebca68b450.tar.zst freebsd-ports-graphics-818273aa589a956b17ecf0381ec5fcebca68b450.zip |
Use SUB_FILES for pkg-message instead of sed.
PR: 142457 (based on)
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Diffstat (limited to 'emulators/pearpc')
-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 217c5c0df22..07d4ed41225 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 7c776fe4307..289c514d67a 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 |