Tweak security/libp11 version 0.4.0
[dports.git] / security / pidgin-encryption / Makefile
1 # Created by: ports@c0decafe.net
2 # $FreeBSD$
3
4 PORTNAME=       pidgin
5 PORTVERSION=    3.1
6 PORTREVISION=   3
7 CATEGORIES=     security
8 MASTER_SITES=   SF/${PORTNAME}-encrypt/Releases/${PORTVERSION}
9 PKGNAMESUFFIX=  -encryption
10 DISTNAME=       ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
11
12 MAINTAINER=     perlfu@gmail.com
13 COMMENT=        Encryption Plugin for the Pidgin instant messenger client
14
15 BUILD_DEPENDS=  ${LOCALBASE}/bin/pidgin:net-im/pidgin
16 RUN_DEPENDS=    ${LOCALBASE}/bin/pidgin:net-im/pidgin
17 LIB_DEPENDS=    libpurple.so:net-im/libpurple \
18                 libnss3.so:security/nss
19
20 GNU_CONFIGURE=  yes
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
30 USE_GNOME=      gtk20
31
32 OPTIONS_DEFINE= NLS
33 OPTIONS_SUB=    yes
34 NLS_CONFIGURE_ENABLE=   nls
35 NLS_USES=       gettext
36
37 post-extract:
38         @${REINPLACE_CMD} -e 's|glib/.*\.h"|glib.h"|g' ${WRKSRC}/rsa_nss.c
39
40 .include <bsd.port.mk>