aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/pidgin-sipe/Makefile
blob: 6b2663951099ff0e3fb817cd8a502213c02f20e1 (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
# New ports collection makefile for: pidgin-sipe
# Date created:  7 May 2009
# Whom:          John Prather
#
# $FreeBSD$
#

PORTNAME=   pidgin-sipe
PORTVERSION=    1.8.1
CATEGORIES= net-im
MASTER_SITES=   SF/sipe/sipe/${DISTNAME}

MAINTAINER= john.c.prather@gmail.com
COMMENT=    A plugin for Pidgin to provide LCS/OCS connectivity

LIB_DEPENDS=    purple.6:${PORTSDIR}/net-im/libpurple
RUN_DEPENDS=    pidgin:${PORTSDIR}/net-im/pidgin

GNU_CONFIGURE=  yes
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gtk20
USE_LDCONFIG=   ${PREFIX}/lib/pidgin
USE_GETTEXT=    yes

CFLAGS+=    "-I/${LOCALBASE}/include"
LIBS+=      "-L/${LOCALBASE}/lib"

CONFIGURE_ENV+= LIBS="${LIBS}" \
        COM_ERR_CFLAGS="-I/usr/include" \
        COM_ERR_LIBS="-L/usr/lib -lcom_err"

.if !defined(NOPORTDOCS)
post-install:
    ${MKDIR} ${DOCSDIR}
.for f in AUTHORS ChangeLog COPYING HACKING INSTALL NEWS README TODO
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.mk>