From fb01d764b7e955a22d55aa4a1be03c7f7a8018b0 Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Sun, 31 Jan 2010 03:42:51 +0000 Subject: - use $SUB_FILES to dynamically adjust pkg-message PR: ports/142405 Submitted by: Sevan Janiyan --- audio/juke/Makefile | 3 ++- audio/juke/files/pkg-message.in | 6 ++++++ audio/juke/pkg-message | 6 ------ 3 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 audio/juke/files/pkg-message.in delete mode 100644 audio/juke/pkg-message (limited to 'audio/juke') diff --git a/audio/juke/Makefile b/audio/juke/Makefile index 30118a9ca599..d65daea12fc8 100644 --- a/audio/juke/Makefile +++ b/audio/juke/Makefile @@ -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 diff --git a/audio/juke/files/pkg-message.in b/audio/juke/files/pkg-message.in new file mode 100644 index 000000000000..e49258d636e2 --- /dev/null +++ b/audio/juke/files/pkg-message.in @@ -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. + diff --git a/audio/juke/pkg-message b/audio/juke/pkg-message deleted file mode 100644 index 3997b0f00ee8..000000000000 --- a/audio/juke/pkg-message +++ /dev/null @@ -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. - -- cgit v1.2.3