Tweak textproc/fixrtf version 0.1.20060303_3
[dports.git] / security / pidgin-otr / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       otr
4 PORTVERSION=    4.0.0
5 PORTREVISION=   5
6 CATEGORIES=     security net-im net
7 MASTER_SITES=   http://www.cypherpunks.ca/otr/
8 PKGNAMEPREFIX=  pidgin-
9 DISTNAME=       ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
10
11 MAINTAINER=     chris@bsdjunk.com
12 COMMENT=        Allows deniable private conversations using Pidgin
13
14 LICENSE=        GPLv2
15
16 # explicitly use libotr.so.5 (see ports/186944)
17 BUILD_DEPENDS=  pidgin:${PORTSDIR}/net-im/pidgin
18 LIB_DEPENDS=    libotr.so.5:${PORTSDIR}/security/libotr \
19                 libgcrypt.so:${PORTSDIR}/security/libgcrypt \
20                 libpurple.so:${PORTSDIR}/net-im/libpurple
21
22 USES=           gettext gmake libtool pkgconfig
23 USE_GNOME=      gtk20
24 GNU_CONFIGURE=  yes
25
26 CPPFLAGS+=      -I${LOCALBASE}/include
27 LDFLAGS+=       -L${LOCALBASE}/lib
28 CONFIGURE_ARGS= --with-libotr-prefix=${LOCALBASE}/lib \
29                 --with-libotr-inc-prefix=${LOCALBASE}/include
30
31 .include <bsd.port.options.mk>
32
33 .if ${OSVERSION} < 1000036 && ${ARCH} == i386
34 LDFLAGS+=       -lssp_nonshared
35 .endif
36
37 .include <bsd.port.mk>