summaryrefslogtreecommitdiff
path: root/chat/silc-client-icb/Makefile
blob: 43377bc5ddea2dfea63b411f00995badfd35a4fc (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
34
35
# $NetBSD: Makefile,v 1.9 2004/01/14 19:26:44 salo Exp $
#

DISTNAME=	irssi-icb-0.14
PKGNAME=	${DISTNAME:S/irssi/silc-client/}
PKGREVISION=	7
CATEGORIES=	chat
MASTER_SITES=	http://www.irssi.org/files/plugins/icb/
DISTFILES=	${DISTNAME}.tar.gz ${SILC_CLIENT_DISTFILE}

MAINTAINER=	salo@NetBSD.org
HOMEPAGE=	http://www.silcnet.org/
COMMENT=	silc-client plugin to access ICB networks

DEPENDS+=	silc-client>=${SILC_CLIENT_VERSION}:../../chat/silc-client

.include "../../chat/silc-client/Makefile.common"

USE_BUILDLINK2=	YES
GNU_CONFIGURE=	YES

IRSSI_DIR=	${WRKDIR}/${SILC_CLIENT_DISTNAME}/irssi

CONFIGURE_ARGS=	--with-irssi=${IRSSI_DIR}

post-extract:
	${CP} ${SILC_CLIENT_CONFIG_H} ${IRSSI_DIR}/config.h
	${CP} ${SILC_CLIENT_CONFIG} ${IRSSI_DIR}/irssi-config

post-install:
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/silc/README.icb

.include "../../devel/glib/buildlink2.mk"

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