1 # Created by: ports@c0decafe.net
8 MASTER_SITES= SF/${PORTNAME}-encrypt/Releases/${PORTVERSION}
9 PKGNAMESUFFIX= -encryption
10 DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
12 MAINTAINER= perlfu@gmail.com
13 COMMENT= Encryption Plugin for the Pidgin instant messenger client
15 BUILD_DEPENDS= ${LOCALBASE}/bin/pidgin:${PORTSDIR}/net-im/pidgin
16 RUN_DEPENDS= ${LOCALBASE}/bin/pidgin:${PORTSDIR}/net-im/pidgin
17 LIB_DEPENDS= libpurple.so:${PORTSDIR}/net-im/libpurple \
18 libnss3.so:${PORTSDIR}/security/nss
21 CONFIGURE_ARGS= --disable-static \
22 --with-nspr-includes=${LOCALBASE}/include/nspr \
23 --with-nspr-libs=${LOCALBASE}/lib \
24 --with-nss-includes=${LOCALBASE}/include/nss/nss \
25 --with-nss-libs=${LOCALBASE}/lib/nss
26 CPPFLAGS+= -I${LOCALBASE}/include
27 LIBS+= -L${LOCALBASE}/lib
28 INSTALL_TARGET= install-strip
29 USES= gettext gmake libtool pkgconfig
34 NLS_CONFIGURE_ENABLE= nls
38 @${REINPLACE_CMD} -e 's|glib/.*\.h"|glib.h"|g' ${WRKSRC}/rsa_nss.c
40 .include <bsd.port.mk>