68edbeeaae
- Add --localstatedir=/var to _LATE_CONFIGURE_ARGS (like --mandir) but not when CONFIGURE_ARGS already sets it. (GNU configure scripts set it to PREFIX/var when PREFIX != /usr.) - Add --localstatedir="${PREFIX}/var" to CONFIGURE_ARGS in some ports so they aren't affected by this change (for now at least). This commit is meant to ensure that new ports don't make the same mistake. - games/acm: the configure script in this port is very old; instead of patching it more, just replace GNU_CONFIGURE with HAS_CONFIGURE. - irc/charybdis: it already used /var but adding --localstatedir=/var changed the behaviour of the configure script; adjust the port to this. PR: 199506 Exp-run by: antoine Approved by: portmgr (antoine)
58 lines
1.3 KiB
Makefile
58 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= charybdis
|
|
PORTVERSION= 3.4.2
|
|
PORTREVISION= 5
|
|
CATEGORIES= irc net
|
|
MASTER_SITES= http://www.stack.nl/~jilles/irc/ \
|
|
http://www.bayofrum.net/dist/${PORTNAME}/
|
|
DISTFILES= ${DISTNAME}.tbz2 ${DOCSDIST}
|
|
EXTRACT_ONLY= ${DISTFILES:M*tbz2}
|
|
|
|
MAINTAINER= crees@FreeBSD.org
|
|
COMMENT= Powerful IRC daemon, based on ircd-ratbox
|
|
|
|
LICENSE= GPLv2
|
|
|
|
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]* \
|
|
|
|
MASTER_SITES:= ${MASTER_SITES} \
|
|
${MASTER_SITES:S,$,charybdis-stable-oper-guide/:pdf,}
|
|
|
|
PORTDOCS= charybdis-oper-guide.pdf
|
|
|
|
USES= libtool pathfix
|
|
USE_OPENSSL= yes
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
GNU_CONFIGURE= yes
|
|
USERS= ircd
|
|
GROUPS= ircd
|
|
CONFIGURE_ARGS= --sysconfdir=${ETCDIR} \
|
|
--with-rundir=/var/run \
|
|
--enable-fhs-paths \
|
|
--enable-kqueue
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
DOCSDIST+= ${PORTDOCS}:pdf
|
|
.endif
|
|
|
|
pre-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
@${INSTALL_DATA} ${DISTDIR}/charybdis-oper-guide.pdf \
|
|
${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/ircd.motd \
|
|
${STAGEDIR}${ETCDIR}/ircd.motd.sample
|
|
|
|
.include <bsd.port.mk>
|