aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-31 11:42:51 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-31 11:42:51 +0800
commit6edb6a25fe8d4136a4c9030794af2d0b663048e3 (patch)
tree6aed8ccbed7560fe8be15bca6085ace9602c1a2e /audio
parentc9881c45aaf374f21a666c8ec67bdbf62db6e39f (diff)
downloadfreebsd-ports-gnome-6edb6a25fe8d4136a4c9030794af2d0b663048e3.tar.gz
freebsd-ports-gnome-6edb6a25fe8d4136a4c9030794af2d0b663048e3.tar.zst
freebsd-ports-gnome-6edb6a25fe8d4136a4c9030794af2d0b663048e3.zip
- use $SUB_FILES to dynamically adjust pkg-message
PR: ports/142405 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Diffstat (limited to 'audio')
-rw-r--r--audio/juke/Makefile3
-rw-r--r--audio/juke/files/pkg-message.in6
-rw-r--r--audio/juke/pkg-message6
3 files changed, 8 insertions, 7 deletions
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 <bsd.port.mk>
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.
-