blob: 3a3e0d03af8676f323f82779faa518cd5042b93d (
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
|
# $NetBSD: Makefile,v 1.9 2005/06/16 06:57:42 jlam Exp $
DISTNAME= icbirc-1.8
CATEGORIES= chat
MASTER_SITES= http://www.benzedrine.cx/
MAINTAINER= tv@duh.org
HOMEPAGE= http://www.benzedrine.cx/icbirc.html
COMMENT= Proxy IRC client and ICB server
WRKSRC= ${WRKDIR}/${PKGBASE}
MAKE_ENV+= BINDIR="${PREFIX}/bin" MANDIR="${PREFIX}/man"
SRCS= icb.c irc.c icbirc.c
CPPFLAGS.Interix+= -Dsocklen_t=int
LDFLAGS.SunOS+= -lsocket -lnsl
INSTALLATION_DIRS= bin man/man8
do-build:
.for f in ${SRCS}
cd ${WRKSRC} && ${COMPILE.c} ${f}
.endfor
cd ${WRKSRC} && ${LINK.c} -o icbirc ${SRCS:.c=.o}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/icbirc ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/icbirc.8 ${PREFIX}/man/man8/
.include "../../mk/bsd.pkg.mk"
|