aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/naim/Makefile
blob: 978ddacab84b79f381806f64de8fe86efe064bc1 (plain) (blame)
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
36
37
38
39
40
41
42
43
# Created by: Michael Haro <mharo@area51.fremont.ca.us>
# $FreeBSD$

PORTNAME=   naim
PORTVERSION=    0.11.8.3.2
CATEGORIES= net-im irc
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= j@scre.ws
COMMENT=    Console ncurses-based AIM, ICQ, IRC, and Lily client

LICENSE=    GPLv2

BROKEN=     Unfetchable (google code has gone away)
DEPRECATED= Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE=    2017-04-30

GNU_CONFIGURE=  yes
USES=       ncurses tar:bzip2

PORTDOCS=   FAQ README commands.txt keyboard.txt

OPTIONS_DEFINE= DETACH DOCS
DETACH_DESC=    Enable 'detach' feature (requires misc/screen)

.include <bsd.port.options.mk>

# Fix parallel (-jX) builds: events.c #include's generated "conio_cmds.h"
post-patch:
    @${ECHO_CMD} 'events.o: conio_cmds.h' >> ${WRKSRC}/src/Makefile.in

.if ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+=    --with-pkgdocdir=${DOCSDIR}
.else
CONFIGURE_ARGS+=    --without-pkgdocdir
.endif

.if ${PORT_OPTIONS:MDETACH}
RUN_DEPENDS=    screen:sysutils/screen
CONFIGURE_ARGS+=    --enable-detach
.endif

.include <bsd.port.mk>