aboutsummaryrefslogtreecommitdiffstats
path: root/irc/slirc
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-04-01 21:23:43 +0800
committeredwin <edwin@FreeBSD.org>2006-04-01 21:23:43 +0800
commit6d976bdb11c9cde26c920768e90d872da1acd8ae (patch)
tree6e8d85aec66f38f35c2377a656c8554f0f214186 /irc/slirc
parentc23d5b398c1549792bc164eb723af0cb410ffcb8 (diff)
downloadfreebsd-ports-gnome-6d976bdb11c9cde26c920768e90d872da1acd8ae.tar.gz
freebsd-ports-gnome-6d976bdb11c9cde26c920768e90d872da1acd8ae.tar.zst
freebsd-ports-gnome-6d976bdb11c9cde26c920768e90d872da1acd8ae.zip
Use SUB_FILES for pkg-message
Diffstat (limited to 'irc/slirc')
-rw-r--r--irc/slirc/Makefile2
-rw-r--r--irc/slirc/files/pkg-message.in (renamed from irc/slirc/pkg-message)4
2 files changed, 4 insertions, 2 deletions
diff --git a/irc/slirc/Makefile b/irc/slirc/Makefile
index a3ade59f62bb..2a81c8fb4367 100644
--- a/irc/slirc/Makefile
+++ b/irc/slirc/Makefile
@@ -19,6 +19,8 @@ COMMENT= A SLang-based IRC client
LIB_DEPENDS= ${LIB_DEPENDS_LIBSLANG}
USE_GMAKE= yes
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
SLANG_INCDIR?= ${PREFIX}/include
SLANG_LIBDIR?= ${PREFIX}/lib
diff --git a/irc/slirc/pkg-message b/irc/slirc/files/pkg-message.in
index 175236ed3db5..4662c285c3f1 100644
--- a/irc/slirc/pkg-message
+++ b/irc/slirc/files/pkg-message.in
@@ -4,8 +4,8 @@ Quickstart:
- Copy config.sl and colours.sl to ~/.slirc/scripts
mkdir -p ~/.slirc/scripts
- cp ${PREFIX}/lib/slirc/scripts/config.sl ~/.slirc/scripts
- cp ${PREFIX}/lib/slirc/scripts/colours.sl ~/.slirc/scripts
+ cp %%PREFIX%%/lib/slirc/scripts/config.sl ~/.slirc/scripts
+ cp %%PREFIX%%/lib/slirc/scripts/colours.sl ~/.slirc/scripts
- Edit ~/.slirc/scripts/config.sl