freebsd-ports/security/pidgin-otr/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

50 lines
1.3 KiB
Makefile

# ex:ts=8
# Ports collection Makefile for: pidgin-otr
# Date created: 2004-12-17
# Whom: Conor McDermottroe <ports@mcdermottroe.com>
#
# $FreeBSD$
#
PORTNAME= otr
PORTVERSION= 3.2.0
# Please do not bump PORTREVISION for this port unless you have
# confirmed via testing that it is necessary
PORTREVISION= 7
CATEGORIES= security net
MASTER_SITES= http://www.cypherpunks.ca/otr/ \
http://dougbarton.us/Downloads/
PKGNAMEPREFIX= pidgin-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= dougb@FreeBSD.org
COMMENT= Allows deniable private conversations using Pidgin
LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/bin/pidgin:${PORTSDIR}/net-im/pidgin
LIB_DEPENDS= otr:${PORTSDIR}/security/libotr \
gcrypt:${PORTSDIR}/security/libgcrypt \
purple:${PORTSDIR}/net-im/libpurple
MAKE_JOBS_SAFE= yes
USE_GMAKE= yes
USE_GNOME= intltool
USE_GETTEXT= yes
GNU_CONFIGURE= yes
CPPFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ARGS= --with-libotr-prefix=${LOCALBASE}/lib \
--with-libotr-inc-prefix=${LOCALBASE}/include
verify: checksum
gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
.include <bsd.port.mk>