summaryrefslogtreecommitdiff
path: root/chat/ircu/Makefile
blob: 67260239ee66d91da9d55d9e3cdb0c1e749cc8a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
#

DISTNAME=	ircu2.10.04
PKGNAME=	ircu-2.10.04
CATEGORIES=	chat
MASTER_SITES=	ftp://ftp.undernet.org/pub/irc/servers/current/ \
		ftp://ftp.asu.net/pub/irc/servers/undernet/
EXTRACT_SUFX=	.tgz

MAINTAINER=	tv@netbsd.org
HOMEPAGE=	http://coder-com.undernet.org/

GNU_CONFIGURE=	yes
IS_INTERACTIVE=	yes

post-configure:
	@${CP} ${FILESDIR}/config ${WRKSRC}/config/.config
	@cd ${WRKSRC} && \
		${MAKE} PREFIX="${PREFIX}" CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" config

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/etc/ircd ${PREFIX}/share/doc/ircd
	${INSTALL_PROGRAM} ${WRKSRC}/ircd/ircd ${PREFIX}/sbin/
	${INSTALL_PROGRAM} ${WRKSRC}/ircd/chkconf ${PREFIX}/sbin/ircd-chkconf
	${INSTALL_MAN} ${WRKSRC}/doc/ircd.8 ${PREFIX}/man/man8/
	${INSTALL_DATA} ${WRKSRC}/doc/example.conf \
		${PREFIX}/etc/ircd/ircd.conf.example
	cd ${WRKSRC}/doc && ${INSTALL_DATA} readme.crules readme.who \
		${PREFIX}/share/doc/ircd/

.include "../../mk/bsd.pkg.mk"