aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/gtk-oxygen-engine/Makefile
blob: c00e9bfee6e06bcaf8278efc69e0485e8cf381cf (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.3.1
CATEGORIES= x11-themes
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTNAME}-gtk2/${PORTVERSION}/src/
PKGNAMEPREFIX=  gtk-
PKGNAMESUFFIX=  -engine
DISTNAME=   ${PORTNAME}-gtk2-${PORTVERSION}

MAINTAINER= rakuco@FreeBSD.org
COMMENT=    Oxygen-Gtk engine and theme

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

USE_BZIP2=  yes
USE_GNOME=  gtk20 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>