blob: 5200d8a3ee88d64df33056727355f951da62c65d (
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
33
|
# $NetBSD: Makefile,v 1.4 2002/08/01 02:37:45 jschauma 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= packages@netbsd.org
HOMEPAGE= http://coder-com.undernet.org/
COMMENT= Internet Relay Chat server customized for Undernet
GNU_CONFIGURE= yes
INTERACTIVE_STAGE= configure
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"
|