aboutsummaryrefslogtreecommitdiff
path: root/security/libotr/Makefile
blob: 3efa3bdb711728ebde86f1b28773ab67f904dacb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $FreeBSD$

PORTNAME=	libotr
PORTVERSION=	4.1.0
PORTREVISION=	1
CATEGORIES=	security net-im net
MASTER_SITES=	https://otr.cypherpunks.ca/ \
		http://www.c-s.li/ports/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	cs@FreeBSD.org
COMMENT=	Portable OTR Messaging Library and toolkit

LICENSE=	LGPL21

LIB_DEPENDS=	libgpg-error.so:${PORTSDIR}/security/libgpg-error \
		libgcrypt.so:${PORTSDIR}/security/libgcrypt

CONFLICTS=	libotr3-*

GNU_CONFIGURE=	yes
USES=		libtool pathfix cpe
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip
CPE_VENDOR=	cypherpunks

.include <bsd.port.options.mk>

.if ${OSVERSION} < 1000036 && ${ARCH} == i386
LDFLAGS+=	-lssp_nonshared
.endif

verify: checksum
	gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc

.include <bsd.port.mk>