aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssi-otr/Makefile
blob: 114338ce13bb1e6e4a5580a1503f01d7ed23c8bb (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=   4
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/libotr3 \
        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>
olor:#3a3935">}/${SUB_FILES} ${INSTDIR} ${LN} -sf ${INSTDIR}/${SUB_FILES} ${PREFIX}/bin .for sd in ${SUB_DIRS} cd ${WRKDIR} && ${FIND} ${sd} -type d -exec ${MKDIR} ${INSTDIR}/{} \; cd ${WRKDIR} && ${FIND} ${sd} -type f -exec ${INSTALL_DATA} {} ${INSTDIR}/{} \; .endfor .include <bsd.port.mk>