5a80519eda
- Update MASTER_SITES - Add LICENSE as 2-clause-bsd (upstream) - Update 1.8 to 1.9, From: http://www.benzedrine.ch/icbirc.html ----------------- 1.9: Aug 20, 2015 When receiving an IRC PING, additionally send an ICB NOOP, to detect a stalled server connection. Patch from Sebastien Marie <semarie@openbsd.org>.
36 lines
901 B
Makefile
36 lines
901 B
Makefile
# $NetBSD: Makefile,v 1.19 2015/08/20 23:39:44 mef Exp $
|
|
|
|
DISTNAME= icbirc-1.9
|
|
CATEGORIES= chat
|
|
MASTER_SITES= http://www.benzedrine.ch/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.benzedrine.cx/icbirc.html
|
|
COMMENT= Proxy IRC client and ICB server
|
|
LICENSE= 2-clause-bsd
|
|
|
|
# uses strlcpy
|
|
BROKEN_ON_PLATFORM= Linux-*-*
|
|
|
|
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+= -lresolv -lsocket -lnsl
|
|
CFLAGS.SunOS+= -DNEED_PROGNAME
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/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 ${DESTDIR}${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/icbirc.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|