summaryrefslogtreecommitdiff
path: root/chat/smirk/Makefile
blob: 566c1c80ac13a551059a56e3146f573d9dfe091a (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.7 2012/10/03 00:02:44 asau Exp $
#

DISTNAME=	smirk-20080111
PKGREVISION=	1
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"