mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Install configuration files as samples and adjust pkg-message
PR: 64919 Submitted by: maintainer
This commit is contained in:
parent
a9f6551306
commit
b398328326
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105727
@ -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}
|
||||
|
11
irc/ircd-hybrid/files/patch-doc-Makefile.in
Normal file
11
irc/ircd-hybrid/files/patch-doc-Makefile.in
Normal file
@ -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@
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user