2011-03-17 16:54:29 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= charybdis
|
2013-01-02 13:23:17 +01:00
|
|
|
PORTVERSION= 3.4.2
|
2015-04-20 21:06:29 +02:00
|
|
|
PORTREVISION= 5
|
2011-03-17 16:54:29 +01:00
|
|
|
CATEGORIES= irc net
|
|
|
|
MASTER_SITES= http://www.stack.nl/~jilles/irc/ \
|
|
|
|
http://www.bayofrum.net/dist/${PORTNAME}/
|
2013-01-02 16:27:48 +01:00
|
|
|
DISTFILES= ${DISTNAME}.tbz2 ${DOCSDIST}
|
2012-07-20 10:28:33 +02:00
|
|
|
EXTRACT_ONLY= ${DISTFILES:M*tbz2}
|
2011-03-17 16:54:29 +01:00
|
|
|
|
2011-06-17 08:46:07 +02:00
|
|
|
MAINTAINER= crees@FreeBSD.org
|
2014-06-13 09:36:27 +02:00
|
|
|
COMMENT= Powerful IRC daemon, based on ircd-ratbox
|
2011-03-17 16:54:29 +01:00
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2012-06-03 18:18:00 +02:00
|
|
|
CONFLICTS= ircd-ratbox-[0-9]* ircd-ratbox-devel-[0-9]* \
|
|
|
|
nefarious-[0-9]* ircd-hybrid-[0-9]* \
|
|
|
|
ptlink-ircd-[0-9]* bnc-[0-9]* \
|
|
|
|
expect-[0-9]* whois-[0-9]* undernet-ircu-[0-9]* \
|
|
|
|
ru-ircd-hybrid-[0-9]* \
|
2011-03-17 16:54:29 +01:00
|
|
|
|
2013-12-29 16:46:13 +01:00
|
|
|
MASTER_SITES:= ${MASTER_SITES} \
|
|
|
|
${MASTER_SITES:S,$,charybdis-stable-oper-guide/:pdf,}
|
2013-01-02 16:27:48 +01:00
|
|
|
|
|
|
|
PORTDOCS= charybdis-oper-guide.pdf
|
2011-03-17 16:54:29 +01:00
|
|
|
|
2014-07-04 10:30:35 +02:00
|
|
|
USES= libtool pathfix
|
2015-01-15 10:05:37 +01:00
|
|
|
USE_OPENSSL= yes
|
2011-03-17 16:54:29 +01:00
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
GNU_CONFIGURE= yes
|
2013-12-29 16:46:13 +01:00
|
|
|
USERS= ircd
|
|
|
|
GROUPS= ircd
|
2015-04-20 21:06:29 +02:00
|
|
|
CONFIGURE_ARGS= --sysconfdir=${ETCDIR} \
|
|
|
|
--with-rundir=/var/run \
|
|
|
|
--enable-fhs-paths \
|
2011-03-17 16:54:29 +01:00
|
|
|
--enable-kqueue
|
|
|
|
|
2014-02-21 14:37:29 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2012-07-20 10:28:33 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-12-29 16:46:13 +01:00
|
|
|
DOCSDIST+= ${PORTDOCS}:pdf
|
2012-07-20 10:28:33 +02:00
|
|
|
.endif
|
|
|
|
|
2013-12-29 16:46:13 +01:00
|
|
|
pre-install:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
2012-07-20 10:28:33 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-12-29 16:46:13 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${DISTDIR}/charybdis-oper-guide.pdf \
|
|
|
|
${STAGEDIR}${DOCSDIR}
|
2012-07-20 10:28:33 +02:00
|
|
|
.endif
|
2013-12-29 16:46:13 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/ircd.motd \
|
|
|
|
${STAGEDIR}${ETCDIR}/ircd.motd.sample
|
2011-03-17 16:54:29 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|