aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/gtk-oxygen-engine/Makefile
blob: 9e15656482798c990fddbbe87d5df5150f0d01ff (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
# Created by: Max Brazhnikov <makc@FreeBSD.org>
# $FreeBSD$

PORTNAME=   oxygen
PORTVERSION=    1.3.2.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:${PORTSDIR}/graphics/cairo \
        dbus-glib-1:${PORTSDIR}/devel/dbus-glib

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