freebsd-ports/security/pidgin-otr/Makefile
Dmitry Marakasov 7b85f229ae - Strip library
2015-06-01 01:29:30 +00:00

40 lines
1 KiB
Makefile

# $FreeBSD$
PORTNAME= otr
PORTVERSION= 4.0.0
PORTREVISION= 6
CATEGORIES= security net-im net
MASTER_SITES= http://www.cypherpunks.ca/otr/
PKGNAMEPREFIX= pidgin-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Allows deniable private conversations using Pidgin
LICENSE= GPLv2
# explicitly use libotr.so.5 (see ports/186944)
BUILD_DEPENDS= pidgin:${PORTSDIR}/net-im/pidgin
LIB_DEPENDS= libotr.so.5:${PORTSDIR}/security/libotr \
libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libpurple.so:${PORTSDIR}/net-im/libpurple
USES= cpe gettext gmake libtool pkgconfig
CPE_VENDOR= cypherpunks
CPE_PRODUCT= ${PKGNAMEPREFIX}${PORTNAME}
USE_GNOME= gtk20
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-libotr-prefix=${LOCALBASE}/lib \
--with-libotr-inc-prefix=${LOCALBASE}/include
.include <bsd.port.options.mk>
.if ${OSVERSION} < 1000036 && ${ARCH} == i386
LDFLAGS+= -lssp_nonshared
.endif
.include <bsd.port.mk>