Use SUB_FILES for pkg-message instead of sed.

PR:		142457 (based on)
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>
This commit is contained in:
Roman Bogorodskiy 2010-01-21 18:44:32 +00:00
parent 22763787a8
commit 1efcb32975
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248282
2 changed files with 3 additions and 2 deletions

View file

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

View file

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