aboutsummaryrefslogtreecommitdiff
path: root/irc/ircd-hybrid
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2004-03-30 20:09:00 +0000
committerErwin Lansing <erwin@FreeBSD.org>2004-03-30 20:09:00 +0000
commitb39832832610b6683a8571514769a5e22dcc1e51 (patch)
tree531d5a56248c8b1a9a1fd577b48955422e261d69 /irc/ircd-hybrid
parenta9f655130603ff40a917146738a8cb2487ed5f82 (diff)
downloadports-b39832832610b6683a8571514769a5e22dcc1e51.tar.gz
ports-b39832832610b6683a8571514769a5e22dcc1e51.zip
Install configuration files as samples and adjust pkg-message
PR: 64919 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=105727
Diffstat (limited to 'irc/ircd-hybrid')
-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