blob: d047acc87403aa0e5757d3424ce96c97f584613a (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# $NetBSD: Makefile,v 1.29 2004/05/07 01:14:47 xtraeme Exp $
#
DISTNAME= xchat-2.0.8
PKGREVISION= 2
CATEGORIES= chat gnome
MASTER_SITES= http://www.xchat.org/files/source/2.0/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.xchat.org/
COMMENT= X11 (X Window System) IRC client, using the GTK2 toolkit
BUILD_USES_MSGFMT= YES
CONFLICTS= xchat-gnome-[0-9]*
GNU_CONFIGURE= YES
USE_BUILDLINK3= YES
USE_DIRS+= gnome2-1.5
USE_LIBTOOL= YES
USE_GNU_TOOLS+= make
USE_PKGLOCALEDIR= YES
USE_X11= YES
CONFIGURE_ARGS+= --enable-textfe
CONFIGURE_ARGS+= --enable-tcl=no
CONFIGURE_ARGS+= --disable-perl
CONFIGURE_ARGS+= --disable-python
LDFLAGS.IRIX+= -lX11
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_INET6 USE_SOCKS XCHAT_USE_SSL
# IPv6 support
.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --enable-ipv6
.endif
# Socks support
.if defined(USE_SOCKS) && !empty(USE_SOCKS:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --enable-socks
.endif
# SSL support
.if defined(XCHAT_USE_SSL) && !empty(XCHAT_USE_SSL:M[Yy][Ee][Ss])
. include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --enable-openssl=${SSLBASE}
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/xchat/plugins
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|