aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/pidgin/Makefile
blob: be102c697c53f9af7ff6ae04e1773849ed0e2baf (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
43
44
# New ports collection makefile for:    gaim
# Date created:         26 Mar 1999
# Whom:             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
PORTREVISION=   0

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

LIB_DEPENDS=    startup-notification-1.0:${PORTSDIR}/x11/startup-notification \
        purple.4:${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 gnomehack intlhack gtk20
USE_XORG=   xscrnsaver sm
WANT_GNOME= yes
CONFIGURE_ARGS= --disable-consoleui \
        --disable-nm

post-build:
    cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
            Makefile ${MAKE_ARGS} pidgin.desktop

post-install:
    ${MKDIR} ${PREFIX}/share/applications
    ${INSTALL_DATA} ${WRKSRC}/pidgin.desktop \
            ${PREFIX}/share/applications/pidgin.desktop

.include "${MASTERDIR}/Makefile"