summaryrefslogtreecommitdiff
path: root/chat/smirk/Makefile
blob: cee0b741be0567d26575eefcf47f1fb61243291b (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 2015/08/18 07:31:03 wiz Exp $
#

DISTNAME=	smirk-20080111
PKGREVISION=	3
CATEGORIES=	chat
MASTER_SITES=	${MASTER_SITE_LOCAL}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://smirk.googlecode.com/
COMMENT=	Revival of the curses-based Rhapsody IRC client

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--datadir=${DATADIR:Q}

USE_TOOLS+=		gmake
USE_NCURSES=		yes

DATADIR=		${PREFIX}/share/${PKGBASE}
HELP_DIR=		${DATADIR}/help
HELP_FILES=		clientcmnds.hlp irccmnds.hlp keys.hlp

LIBS.SunOS+=		-lsocket -lnsl

do-install:
	${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/src/smirk ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA_DIR} ${DESTDIR}${HELP_DIR}
.for fn in ${HELP_FILES}
	${INSTALL_DATA} ${WRKSRC}/help/${fn} ${DESTDIR}${HELP_DIR}
.endfor

.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"