aboutsummaryrefslogtreecommitdiffstats
path: root/security/libotr3/Makefile
blob: ea852f26aca5ce3995894f99f0473aa93909d9cd (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
# $FreeBSD$

PORTNAME=   libotr
PORTVERSION=    3.2.1
# Please do not bump PORTREVISION for this port unless you have
# confirmed via testing that it is necessary
PORTREVISION=   1
CATEGORIES= security net-im net
MASTER_SITES=   http://www.c-s.li/ports/ \
        https://otr.cypherpunks.ca/
PKGNAMESUFFIX=  3
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

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

CONFLICTS=  libotr-*

USE_AUTOTOOLS=  autoconf libtool
USE_LDCONFIG=   yes

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

post-patch:
    @${REINPLACE_CMD} -e 's#^pkgconfigdir .*#pkgconfigdir = ${PREFIX}/libdata/pkgconfig#' \
        ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am

.include <bsd.port.mk>