aboutsummaryrefslogtreecommitdiffstats
path: root/net/vinagre/Makefile
blob: 839887c04772d7dbee64818263af3bbd8f0f49e8 (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
45
46
47
48
49
50
# New ports collection makefile for:    vinagre
# Date created:             16 December 2007
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/net/vinagre/Makefile,v 1.5 2008/03/10 15:15:00 ahze Exp $
#

PORTNAME=   vinagre
PORTVERSION=    0.5.1
PORTREVISION=   3
CATEGORIES= net gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    VNC client for the GNOME Desktop

LIB_DEPENDS=    gtk-vnc-1.0.0:${PORTSDIR}/net/gtk-vnc \
            avahi-core.6:${PORTSDIR}/net/avahi-app \
        avahi-ui.0:${PORTSDIR}/net/avahi-gtk \
        gnome-keyring:${PORTSDIR}/security/gnome-keyring

USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_GNOME=  gnomeprefix intlhack gnomehack libglade2 gconf2 gnomedocutils
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
INSTALLS_OMF=   yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --enable-avahi
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=  vinagre.schemas

MAN1=       vinagre.1

post-install:
    @-update-desktop-database > /dev/null
    @-update-mime-database ${PREFIX}/share/mime > /dev/null
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for f in AUTHORS COPYING ChangeLog MAINTAINERS NEWS README
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>