aboutsummaryrefslogtreecommitdiffstats
path: root/russian/ircd-hybrid-ru/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-12-15 16:30:40 +0800
committerkrion <krion@FreeBSD.org>2003-12-15 16:30:40 +0800
commit5e9a7101525319d57c18f72a59e7a95aab7ac60a (patch)
tree4b1fa2a3feae782cc50140d70d045b768cc93fcc /russian/ircd-hybrid-ru/Makefile
parent82a33f9cd322c6c43f9dca63133dd5e50238fa53 (diff)
downloadfreebsd-ports-gnome-5e9a7101525319d57c18f72a59e7a95aab7ac60a.tar.gz
freebsd-ports-gnome-5e9a7101525319d57c18f72a59e7a95aab7ac60a.tar.zst
freebsd-ports-gnome-5e9a7101525319d57c18f72a59e7a95aab7ac60a.zip
Add ircd-hybrid-ru 7.1,
ircd-hybrid-ru is russian version of well known hybrid IRC server with plently number of features. it can handle russian channel names, nicknames and harset recoding PR: 60244 Submitted by: Evgueni V. Gavrilov <aquatique@rusunix.org>
Diffstat (limited to 'russian/ircd-hybrid-ru/Makefile')
-rw-r--r--russian/ircd-hybrid-ru/Makefile74
1 files changed, 74 insertions, 0 deletions
diff --git a/russian/ircd-hybrid-ru/Makefile b/russian/ircd-hybrid-ru/Makefile
new file mode 100644
index 000000000000..82f99e30f55e
--- /dev/null
+++ b/russian/ircd-hybrid-ru/Makefile
@@ -0,0 +1,74 @@
+# New ports collection makefile for: ircd-hybrid-ru
+# Date Created: 2003.12.14
+# Whom: Evgueni V. Gavrilov <aquatique@rusunix.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ircd
+PORTVERSION= 7.1
+CATEGORIES= irc russian
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ ftp://rusunix.org/pub/FreeBSD/distfles/
+MASTER_SITE_SUBDIR= ircd-hybrid-ru
+PKGNAMESUFFIX= -hybrid-ru
+DISTNAME= ircd-hybrid-ru-7.1rc2
+
+MAINTAINER= aquatique@rusunix.org
+COMMENT= Russian version of well known hybrid IRC server
+
+CONFLICTS= ircd*
+
+WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}
+USE_OPENSSL= yes
+USE_BISON= yes
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/ircd-hybrid-ru
+
+MAN8= ircd.8
+
+.if defined(WITH_SMALL_NET)
+CONFIGURE_ARGS+=-enable-small-net
+.endif
+
+.if defined(WITH_SYSLOG)
+CONFIGURE_ARGS+=--enable-syslog=\"kill squit connect users oper\"
+.endif
+
+.if defined(NICKLENGTH)
+CONFIGURE_ARGS+=--with-nicklen=${NICKLENGTH}
+.endif
+
+.if defined(TOPICLENGTH)
+CONFIGURE_ARGS+=--with-topiclen=${TOPICLENGTH}
+.endif
+
+.if defined(MAXCONN)
+CONFIGURE_ARGS+=--with-maxconn=${MAXCONN}
+.endif
+
+pre-extract:
+ @${ECHO_MSG} "* * * Build options for ircd-hybrid-ru * * *"
+ @${ECHO_MSG} "Issue make WITH_SMALL_NET=yes to build server optimized for small network"
+ @${ECHO_MSG} "Issue make WITH_SYSLOG=yes to enable logging via syslogd"
+ @${ECHO_MSG} "You can define maximum nick length. For example make NICKLENGTH=46 (default is 30)"
+ @${ECHO_MSG} "You can define maximum topic length. For example make TOPICLENGTH=254 (default is 120; maximum is 390)"
+ @${ECHO_MSG} "You can define maximum number of connections for ircd. For example make MAXCONN=512"
+
+pre-install:
+ @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+ @${REINPLACE_CMD} -e 's,etc/codepage,etc/ircd-hybrid-ru/codepage,' ${WRKSRC}/etc/example.conf
+ @${REINPLACE_CMD} -e 's,/ircd/modules,/lib/ircd-hybrid-ru-modules,' ${WRKSRC}/etc/example.conf
+
+post-install:
+ @${INSTALL_SCRIPT} -m 555 ${FILESDIR}/ircd-hybrid-ru.sh.sample ${PREFIX}/etc/rc.d
+ @${CHOWN} -R ircdru:ircdru ${PREFIX}/etc/ircd-hybrid-ru
+ @${CHOWN} -R ircdru:ircdru /var/log/ircd-hybrid-ru
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/RELNOTE* ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/server-version-info ${DOCSDIR}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>