aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/gtk3-oxygen-engine/Makefile
blob: fad122fdcf97f6803c1008a6b80a74265c49fc08 (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
# New ports collection makefile for:    gtk-oxygen-engine
# Date created:     2010-12-14
# Whom:         Max Brazhnikov <makc@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   oxygen
PORTVERSION=    1.0.3
CATEGORIES= x11-themes
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTNAME}-gtk3/${PORTVERSION}/src/
PKGNAMEPREFIX=  gtk3-
PKGNAMESUFFIX=  -engine
DISTNAME=   ${PORTNAME}-gtk3-${PORTVERSION}

MAINTAINER= rakuco@FreeBSD.org
COMMENT=    Oxygen GTK+ 3 engine and theme

LIB_DEPENDS=    cairo.2:${PORTSDIR}/graphics/cairo \
        dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib

USE_BZIP2=  yes
USE_GNOME=  gtk30 pkgconfig
USE_CMAKE=  yes
MAKE_JOBS_SAFE= yes

.include <bsd.port.pre.mk>

# FreeBSD SVN r205606 was only MFC'ed to 8.1+, so we need to match
# the old function signature on previous versions.
.if ${OSVERSION} < 801000
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-demo-oxygengtkdeco_main.cpp
.endif

.include <bsd.port.post.mk>