openbsd-ports/net/irc/Makefile

56 lines
1.6 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.18 2001/04/10 16:18:02 bmc Exp $
1999-03-09 21:37:44 -05:00
# $FreeBSD: Makefile,v 1.19 1998/12/09 20:15:29 billf Exp $
COMMENT= "internet relay chat (irc) server"
DISTNAME= irc2.10.3p1
PKGNAME= irc-2.10.3p1
1997-11-14 19:04:24 -05:00
CATEGORIES= net
NEED_VERSION= 1.387
MASTER_SITES= ftp://ftp.irc.org/irc/server/ \
ftp://ftp.ntua.gr/pub/net/irc/server/
EXTRACT_SUFX= .tgz
1997-11-14 19:04:24 -05:00
MAINTAINER= Brian Caswell <bmc@mitre.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
SYSCONFDIR= /etc/ircd
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --logdir="/var/log/ircd" \
--localstatedir="/var/run" \
--enable-ip6
1999-03-09 21:37:44 -05:00
# syslog facility to use for logging
SYSLOG_FACILITY= LOG_LOCAL5
1999-03-09 21:37:44 -05:00
ALL_TARGET= server
1999-03-09 21:37:44 -05:00
WRKBUILD= ${WRKSRC}/support
1997-11-14 19:04:24 -05:00
1999-03-09 21:37:44 -05:00
post-patch:
@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
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ircd
${INSTALL_PROGRAM} ${WRKSRC}/support/ircd ${PREFIX}/libexec/ircd
cd ${WRKBUILD}; ${INSTALL_PROGRAM} \
iauth chkconf ircdwatch ircd-mkpasswd \
${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>