6 CATEGORIES= security net-im net
7 MASTER_SITES= http://www.cypherpunks.ca/otr/
9 DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
11 MAINTAINER= chris@bsdjunk.com
12 COMMENT= Allows deniable private conversations using Pidgin
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
22 USES= gettext gmake libtool pkgconfig
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
31 .include <bsd.port.options.mk>
33 .if ${OSVERSION} < 1000036 && ${ARCH} == i386
34 LDFLAGS+= -lssp_nonshared
37 .include <bsd.port.mk>