aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssi-otr/Makefile
blob: 12ca0a8bca4786d69e7d3b8239358f60a2f7cbaa (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
# New ports collection makefile for:    irssi-otr
# Date created:     2008-08-16
# Whom:         Ashish Shukla <wahjava@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   irssi-otr
PORTVERSION=    0.3
PORTREVISION=   3
CATEGORIES= irc
MASTER_SITES=   ftp://download.tuxfamily.org/${MASTER_SITE_SUBDIR}/
MASTER_SITE_SUBDIR= irssiotr

MAINTAINER= ashish@FreeBSD.org
COMMENT=    A plugin for irssi for Off-the-Record (OTR) messaging

BUILD_DEPENDS=  ${LOCALBASE}/include/irssi/src/common.h:${PORTSDIR}/irc/irssi \
        ${LOCALBASE}/bin/libgcrypt-config:${PORTSDIR}/security/libgcrypt
LIB_DEPENDS=    otr.4:${PORTSDIR}/security/libotr \
        gcrypt.18:${PORTSDIR}/security/libgcrypt
RUN_DEPENDS=    irssi:${PORTSDIR}/irc/irssi

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_CMAKE=  yes
USE_LDCONFIG=   yes
USE_GNOME=  glib20
USE_PKGCONFIG=  build

PLIST_FILES=    lib/irssi/modules/libotr.so \
        %%DOCSDIR%%/LICENSE %%DOCSDIR%%/README
PLIST_DIRS= %%DOCSDIR%%

.include <bsd.port.mk>