aboutsummaryrefslogtreecommitdiff
path: root/security/pidgin-encryption/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-18 11:25:15 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-18 11:25:15 +0000
commit13f2b96a02b89c2b3a87779318b7ee36fdcc18ad (patch)
tree4f3e075d579d7a907bdb84bbcc6d3742874e7913 /security/pidgin-encryption/Makefile
parent08bd529b3ebec594fa030ebf7483f8f6483c93c5 (diff)
downloadports-13f2b96a02b89c2b3a87779318b7ee36fdcc18ad.tar.gz
ports-13f2b96a02b89c2b3a87779318b7ee36fdcc18ad.zip
Notes
Diffstat (limited to 'security/pidgin-encryption/Makefile')
-rw-r--r--security/pidgin-encryption/Makefile42
1 files changed, 18 insertions, 24 deletions
diff --git a/security/pidgin-encryption/Makefile b/security/pidgin-encryption/Makefile
index b438bec3dfd6..2b9436244941 100644
--- a/security/pidgin-encryption/Makefile
+++ b/security/pidgin-encryption/Makefile
@@ -1,52 +1,46 @@
-# New ports collection makefile for: gaim-encryption
+# New ports collection Makefile for: pidgen-encryption
# Date created: 2004-05-01
-# Whom: ports@c0decafe.net
+# Whom: ports@c0decafe.net
#
# $FreeBSD$
#
-PORTNAME= encryption
-PORTVERSION= 2.39
-PORTREVISION= 2
-CATEGORIES= security net
+PORTNAME= pidgin
+PORTVERSION= 3.0
+CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
-PKGNAMEPREFIX= gaim-
-DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+MASTER_SITE_SUBDIR= pidgin-encrypt
+PKGNAMESUFFIX= -encryption
+DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
-MAINTAINER= ports@c0decafe.net
-COMMENT= Provides transparent RSA encryption as a Gaim plugin
+MAINTAINER= perlfu@gmail.com
+COMMENT= Encryption Plugin for the Pidgin instant messenger client
-BUILD_DEPENDS= ${LOCALBASE}/include/gaim/config.h:${PORTSDIR}/net-im/gaim
-RUN_DEPENDS= gaim:${PORTSDIR}/net-im/gaim
-LIB_DEPENDS= nss3:${PORTSDIR}/security/nss
+BUILD_DEPENDS= ${LOCALBASE}/bin/pidgin:${PORTSDIR}/net-im/pidgin
+LIB_DEPENDS= purple.0:${PORTSDIR}/net-im/libpurple \
+ nss3:${PORTSDIR}/security/nss
USE_XLIB= yes
USE_GMAKE= yes
USE_GNOME= gtk20
GNU_CONFIGURE= yes
+
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_ARGS= --with-nspr-includes=${LOCALBASE}/include/nspr \
- --with-nspr-libs=${LOCALBASE}/lib \
+CONFIGURE_ARGS= --with-nspr-includes=${LOCALBASE}/include/nspr \
+ --with-nspr-libs=${LOCALBASE}/lib \
--with-nss-includes=${LOCALBASE}/include/nss/nss \
--with-nss-libs=${LOCALBASE}/lib/nss
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
-CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE}
+CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE}
PLIST_SUB+= NLS=""
.else
-CONFIGURE_ARGS+=--disable-nls
+CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-pre-everything::
- @${ECHO_MSG} ""
- @${ECHO_MSG} "WARNING: make sure net-im/gaim is built with NSS support (it is, by default)"
- @${ECHO_MSG} ""
- @${ECHO_MSG} ""
-
post-extract:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure