- use $SUB_FILES to dynamically adjust pkg-message
PR: ports/142405 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
This commit is contained in:
parent
bc7c753e14
commit
fb01d764b7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248918
3 changed files with 8 additions and 7 deletions
|
@ -17,6 +17,7 @@ COMMENT= A simple curses/ncurses based juke box program
|
|||
GNU_CONFIGURE= yes
|
||||
|
||||
MAN1= juke.1
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
.if defined(WITH_VI_BINDINGS)
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-vi
|
||||
|
@ -24,6 +25,6 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-vi
|
|||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/juke.conf ${PREFIX}/etc/juke.conf.sample
|
||||
@${SED} 's,PREFIX,${PREFIX},' ${PKGMESSAGE}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
6
audio/juke/files/pkg-message.in
Normal file
6
audio/juke/files/pkg-message.in
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
A sample configuration file has been copied to
|
||||
%%PREFIX%%/etc/juke.conf.sample. Juke will not work without either
|
||||
%%PREFIX%%/etc/juke.conf or the running user's ~/.juke.conf being
|
||||
in place.
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
|
||||
A sample configuration file has been copied to
|
||||
PREFIX/etc/juke.conf.sample. Juke will not work without either
|
||||
PREFIX/etc/juke.conf or the running user's ~/.juke.conf being
|
||||
in place.
|
||||
|
Loading…
Reference in a new issue