blob: 5696d2aac53104b419d132a66acbfc22018c6e13 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# New ports collection makefile for: conspire
# Date created: Thu Jul 17 2008
# Whom: Jacob Myers (jacob@whotookspaz.org)
#
# $FreeBSD$
PORTNAME= conspire
PORTVERSION= 0.20
PORTREVISION= 1
CATEGORIES= irc gnome
MASTER_SITES= http://distfiles.atheme.org/
EXTRACT_SUFX= .tbz2
MAINTAINER= jacob@whotookspaz.org
COMMENT= A high quality IRC client which uses a multitude of interfaces
LIB_DEPENDS= sexy.2:${PORTSDIR}/x11-toolkits/libsexy \
mowgli.2:${PORTSDIR}/devel/libmowgli \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
notify.1:${PORTSDIR}/devel/libnotify
USE_BZIP2= yes
USE_GMAKE= yes
USE_GETTEXT= yes
USE_GNOME= gnomehack gtk20
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_GETTEXT= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
MAN1= conspire-bot.1 \
conspire.1
OPTIONS= IPV6 "Enable IPv6 support" off \
PLUGIN "Enable plugin support" on \
REGEX "Enable regex substitution support" on \
GNUTLS "Enale gnutls support" on \
SOCKS "Build with socks5 support" off
.include <bsd.port.pre.mk>
.if defined(WITH_IPV6)
CONFIGURE_ARGS+=--enable-ipv6
.endif
.if !defined(WITH_PLUGIN)
CONFIGURE_ARGS+=--disable-plugin
.endif
.if !defined(WITH_REGEX)
CONFIGURE_ARGS+=--disable-regex
.endif
.if defined(WITH_GNUTLS)
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+=--enable-gnutls
.endif
.if defined(WITH_SOCKS)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
CONFIGURE_ARGS+=--enable-socks
.endif
# Create plugins directory even when no plugins are installed
post-install:
@${MKDIR} ${PREFIX}/lib/conspire/plugins
post-patch:
@${REINPLACE_CMD} 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} 's|GtkType|GType|g' \
${WRKSRC}/src/fe-gtk/xtext.h
.include <bsd.port.post.mk>
|