aboutsummaryrefslogtreecommitdiffstats
path: root/security/libotr3/Makefile
blob: 990ee9d400790cd91af8cf5187b944dfe553d586 (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
38
39
40
41
42
# $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
CATEGORIES= security net-im net
MASTER_SITES=   http://www.cypherpunks.ca/otr/
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

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

BUILD_DEPENDS=  pkgconf>0:${PORTSDIR}/devel/pkgconf
LIB_DEPENDS=    gpg-error.0:${PORTSDIR}/security/libgpg-error \
        gcrypt:${PORTSDIR}/security/libgcrypt

MAKE_JOBS_SAFE= yes

NO_LATEST_LINK= yes
CONFLICTS=  libotr-4.*

USE_AUTOTOOLS=  autoconf libtool
USE_LDCONFIG=   yes

MAN1=       otr_toolkit.1
MLINKS=     otr_toolkit.1 otr_parse.1 \
        otr_toolkit.1 otr_sesskeys.1 \
        otr_toolkit.1 otr_mackey.1 \
        otr_toolkit.1 otr_readforge.1 \
        otr_toolkit.1 otr_modify.1 \
        otr_toolkit.1 otr_remac.1

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>