summaryrefslogtreecommitdiffstats
path: root/x11/gnome-desktop3/Makefile
blob: 5876b34afc81d93db4252e066ca81aa0a48805b8 (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/x11/gnome-desktop3/Makefile,v 1.23 2012/05/16 20:56:04 kwm Exp $

PORTNAME=   gnome-desktop
PORTVERSION=    3.4.2
PORTREVISION?=  0
CATEGORIES= x11 gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Additional UI API for GNOME 3

USE_XZ=     yes

.if !defined(REFERENCE_PORT)

BUILD_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas \
        g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS=    startup-notification-1.0:${PORTSDIR}/x11/startup-notification
RUN_DEPENDS=    ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas

LATEST_LINK=    gnome-desktop3

USE_XORG=   x11 xrandr xext
USE_GNOME=  gnomeprefix intlhack gnomedocutils gtk30 \
        ltverhack referencehack
USE_GETTEXT=    yes
USE_GMAKE=  yes
USES=       bison pathfix
USE_PYTHON= yes
INSTALLS_OMF=   yes
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool
CONFIGURE_ARGS= --with-gnome-distributor="FreeBSD GNOME Project"
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e 's|xsltproc -o| xsltproc --nonet -o|g' \
        ${WRKSRC}/desktop-docs/fdl/Makefile.in \
        ${WRKSRC}/desktop-docs/gpl/Makefile.in \
        ${WRKSRC}/desktop-docs/lgpl/Makefile.in

.include <bsd.port.mk>

.endif