2004-08-03 14:24:40 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2004/08/03 18:24:40 naddy Exp $
|
1999-03-09 21:37:44 -05:00
|
|
|
# $FreeBSD: Makefile,v 1.19 1998/12/09 20:15:29 billf Exp $
|
|
|
|
|
2001-04-10 12:18:02 -04:00
|
|
|
COMMENT= "internet relay chat (irc) server"
|
|
|
|
|
2001-01-27 19:47:17 -05:00
|
|
|
DISTNAME= irc2.10.3p1
|
2003-11-11 10:17:34 -05:00
|
|
|
PKGNAME= irc-2.10.3p1p1
|
1997-11-14 19:04:24 -05:00
|
|
|
CATEGORIES= net
|
2002-10-27 20:38:44 -05:00
|
|
|
|
2003-11-11 10:17:34 -05:00
|
|
|
MASTER_SITES= ftp://ftp.irc.org/irc/server/Old/ \
|
2001-01-27 19:47:17 -05:00
|
|
|
ftp://ftp.ntua.gr/pub/net/irc/server/
|
|
|
|
EXTRACT_SUFX= .tgz
|
1997-11-14 19:04:24 -05:00
|
|
|
|
2002-05-08 13:06:05 -04:00
|
|
|
MAINTAINER= Brian Caswell <bmc@openbsd.org>
|
1997-11-14 19:04:24 -05:00
|
|
|
|
2000-06-08 16:32:35 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2003-05-12 14:02:44 -04:00
|
|
|
CONFDIR= ${SYSCONFDIR}/ircd
|
|
|
|
CONFIGURE_STYLE= gnu old
|
2004-08-03 14:24:40 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/support
|
2001-01-27 19:47:17 -05:00
|
|
|
CONFIGURE_ARGS= --logdir="/var/log/ircd" \
|
2001-04-10 12:18:02 -04:00
|
|
|
--localstatedir="/var/run" \
|
2003-05-12 14:02:44 -04:00
|
|
|
--sysconfdir=${CONFDIR}
|
2001-04-20 03:31:35 -04:00
|
|
|
|
|
|
|
FLAVORS= ipv6
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mipv6}
|
|
|
|
CONFIGURE_ARGS+= --enable-ip6
|
|
|
|
.endif
|
1999-03-09 21:37:44 -05:00
|
|
|
|
2001-01-27 19:47:17 -05:00
|
|
|
# syslog facility to use for logging
|
|
|
|
SYSLOG_FACILITY= LOG_LOCAL5
|
1999-03-09 21:37:44 -05:00
|
|
|
|
2001-01-27 19:47:17 -05:00
|
|
|
ALL_TARGET= server
|
1999-03-09 21:37:44 -05:00
|
|
|
|
2001-01-27 19:47:17 -05:00
|
|
|
WRKBUILD= ${WRKSRC}/support
|
1997-11-14 19:04:24 -05:00
|
|
|
|
2003-05-12 14:02:44 -04:00
|
|
|
SUBST_VARS= CONFDIR
|
|
|
|
|
1999-03-09 21:37:44 -05:00
|
|
|
post-patch:
|
2001-01-27 19:47:17 -05:00
|
|
|
@sed -e s#!!SYSLOG_FACILITY!!#$(SYSLOG_FACILITY)#g \
|
|
|
|
$(WRKSRC)/support/config.h.dist > $(WRKSRC)/support/config.h.dist.new
|
|
|
|
@mv $(WRKSRC)/support/config.h.dist.new $(WRKSRC)/support/config.h
|
|
|
|
|
2002-10-27 20:38:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-01-27 19:47:17 -05:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ircd
|
|
|
|
cd ${WRKBUILD}; ${INSTALL_PROGRAM} \
|
2001-04-20 03:31:35 -04:00
|
|
|
iauth chkconf ircdwatch ircd-mkpasswd ircd \
|
2001-01-27 19:47:17 -05:00
|
|
|
${PREFIX}/sbin
|
|
|
|
cd ${WRKSRC}/doc; ${INSTALL_MAN} ircd.8 iauth.8 \
|
|
|
|
${PREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/iauth.conf.5 ${PREFIX}/man/man5
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/support/iauth.conf \
|
|
|
|
${PREFIX}/share/examples/ircd/iauth.conf-sample
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/support/iauth.conf \
|
|
|
|
${PREFIX}/share/examples/ircd/ircd.m4
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/example.conf \
|
|
|
|
${PREFIX}/share/examples/ircd/ircd.conf-sample
|
1999-03-09 21:37:44 -05:00
|
|
|
|
1997-11-14 19:04:24 -05:00
|
|
|
.include <bsd.port.mk>
|