aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/pidgin/Makefile
blob: 9f9f6c59724796a74232de2542fb066cae712489 (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
# Created by: Jim Mock <jim@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/net-im/pidgin/Makefile,v 1.17 2007/09/17 19:53:06 marcus Exp $

PORTNAME=   pidgin

MAINTAINER= marcus@FreeBSD.org
COMMENT=    Pidgin multi-protocol messaging client (GTK+ UI)

LIB_DEPENDS=    libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \
        libpurple.so:${PORTSDIR}/net-im/libpurple

MASTERDIR=  ${.CURDIR}/../libpurple
BUILD_WRKSRC=   ${WRKSRC}/pidgin
INSTALL_WRKSRC= ${BUILD_WRKSRC}
INSTALLS_ICONS= yes
DESCR=      ${.CURDIR}/pkg-descr
PLIST=      ${.CURDIR}/pkg-plist

PIDGIN_SLAVE=   yes
WITH_GTKUI= yes

USE_LDCONFIG=   yes
USE_GNOME=  gnomeprefix gtk20 intltool
USE_XORG=   xscrnsaver sm
WANT_GNOME= yes
CONFIGURE_ARGS= --disable-consoleui \
        --disable-nm \
        --enable-screensaver \
        --with-dynamic_prpls=${PRPL_MODULES:S/,$//}

.if ${PORT_OPTIONS:MPERL}
post-stage:
    @${SED} -i '' -e 's|^${STAGEDIR}||g' \
        ${STAGEDIR}${PREFIX}/lib/pidgin/perl/auto/Pidgin/.packlist
.endif

post-install:
    ${INSTALL_MAN} ${WRKSRC}/doc/pidgin.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

.include "${MASTERDIR}/Makefile"