aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2004-03-31 04:09:00 +0800
committererwin <erwin@FreeBSD.org>2004-03-31 04:09:00 +0800
commit47db6ca0e017d86581ae57d523be7eb46fc61b70 (patch)
treefac97458bad24d44d1679873944efc5b973c507d /irc
parent14042a07c94213103476ba10caba0e05d7386a88 (diff)
downloadfreebsd-ports-gnome-47db6ca0e017d86581ae57d523be7eb46fc61b70.tar.gz
freebsd-ports-gnome-47db6ca0e017d86581ae57d523be7eb46fc61b70.tar.zst
freebsd-ports-gnome-47db6ca0e017d86581ae57d523be7eb46fc61b70.zip
Install configuration files as samples and adjust pkg-message
PR: 64919 Submitted by: maintainer
Diffstat (limited to 'irc')
-rw-r--r--irc/ircd-hybrid/Makefile3
-rw-r--r--irc/ircd-hybrid/files/patch-doc-Makefile.in11
-rw-r--r--irc/ircd-hybrid/pkg-message4
3 files changed, 16 insertions, 2 deletions
diff --git a/irc/ircd-hybrid/Makefile b/irc/ircd-hybrid/Makefile
index c9e797ac688a..c6650a068f2e 100644
--- a/irc/ircd-hybrid/Makefile
+++ b/irc/ircd-hybrid/Makefile
@@ -85,6 +85,9 @@ CONFIGURE_ARGS+= --messagedir=${PREFIX}/share/${PORTNAME}-${PORTVERSION}/message
post-patch:
@${REINPLACE_CMD} -e "s#man8#man/man8#" ${WRKSRC}/doc/Makefile.in
+ @${MV} ${WRKSRC}/doc/ircd.motd ${WRKSRC}/doc/ircd.motd.sample
+ @${MV} ${WRKSRC}/doc/kline.conf ${WRKSRC}/doc/kline.conf.sample
+ @${MV} ${WRKSRC}/doc/dline.conf ${WRKSRC}/doc/dline.conf.sample
pre-install:
${MKDIR} ${PREFIX}/etc/ircd-hybrid ${PREFIX}/share/${PORTNAME}-${PORTVERSION}
diff --git a/irc/ircd-hybrid/files/patch-doc-Makefile.in b/irc/ircd-hybrid/files/patch-doc-Makefile.in
new file mode 100644
index 000000000000..055a47a8bcaf
--- /dev/null
+++ b/irc/ircd-hybrid/files/patch-doc-Makefile.in
@@ -0,0 +1,11 @@
+--- doc/Makefile.in.bak Mon Mar 29 21:57:04 2004
++++ doc/Makefile.in Mon Mar 29 21:56:12 2004
+@@ -30,7 +30,7 @@
+ MANPAGES = ircd.8
+
+ CONFS = example.conf example.efnet.conf
+-DEFAULTCONFS = ircd.motd kline.conf dline.conf
++DEFAULTCONFS = ircd.motd.sample kline.conf.sample dline.conf.sample
+
+ SSL_LIBS = @SSL_LIBS@
+ SSL_INCLUDES = @SSL_INCLUDES@
diff --git a/irc/ircd-hybrid/pkg-message b/irc/ircd-hybrid/pkg-message
index 9d5f242bbc5c..f4309a1bb408 100644
--- a/irc/ircd-hybrid/pkg-message
+++ b/irc/ircd-hybrid/pkg-message
@@ -5,8 +5,8 @@ ircd-hybrid has now been installed.
- The old kline format WILL NOT WORK
Please read the INSTALL file for more information.
-You should now copy /usr/local/etc/ircd/*.sample to
-/usr/local/etc/ircd/*, and them to suit your needs.
+You should now copy /usr/local/etc/ircd-hybrid/*.sample to
+/usr/local/etc/ircd-hybrid/*, and them to suit your needs.
Please note: you should copy _all_ the sample files
to the corresponding configuration file, even if you