aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bitlbee-otr
diff options
context:
space:
mode:
Diffstat (limited to 'irc/bitlbee-otr')
-rw-r--r--irc/bitlbee-otr/Makefile4
-rw-r--r--irc/bitlbee-otr/pkg-message8
2 files changed, 12 insertions, 0 deletions
diff --git a/irc/bitlbee-otr/Makefile b/irc/bitlbee-otr/Makefile
index 8c73da40d050..c6f66f7de968 100644
--- a/irc/bitlbee-otr/Makefile
+++ b/irc/bitlbee-otr/Makefile
@@ -20,6 +20,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/man --config=${PREFIX}/etc/bitlbee
USE_GMAKE= yes
USE_GNOME= glib20
+PKGMESSAGE= ${WRKDIR}/pkg-message
.if defined(WITH_MSN)
LIB_DEPENDS= soup-2.0.0:${PORTSDIR}/devel/libsoup
@@ -30,6 +31,9 @@ pre-configure:
@${ECHO_CMD} "Type \"make -DWITH_MSN\" if you want enable MSN support."
.endif
+post-build:
+ @${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
+
pre-install:
@mkdir -p -m 700 ${PREFIX}/etc/bitlbee
diff --git a/irc/bitlbee-otr/pkg-message b/irc/bitlbee-otr/pkg-message
new file mode 100644
index 000000000000..9651ae72cecc
--- /dev/null
+++ b/irc/bitlbee-otr/pkg-message
@@ -0,0 +1,8 @@
+/************************************************************************
+Remember:
+ rename %%PREFIX%%/etc/bitlbee/bitlbee.conf.orig
+ to %%PREFIX%%/etc/bitlbee/bitlbee.conf ,
+ rename %%PREFIX%%/etc/bitlbee/motd.txt.orig
+ to %%PREFIX%%/etc/bitlbee/motd.txt
+ and modify them.
+*************************************************************************/