aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/qtcurve-gtk2/Makefile
blob: da044d9f03d799dbf693205a57c15897624dae80 (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
# New ports collection makefile for:    qtcurve-gtk2
# Date created:                         23 May 2008
# Whom:                                 Dmitry Klimov <lazyklimm@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	qtcurve
PORTVERSION=	1.8.7
CATEGORIES=	x11-themes
MASTER_SITES=	http://craigd.wikispaces.com/file/view/
PKGNAMEPREFIX=	gtk2-
PKGNAMESUFFIX=	-theme
DISTNAME=	QtCurve-Gtk2-${PORTVERSION}

MAINTAINER=	makc@FreeBSD.org
COMMENT=	QtCurve GTK2 Theme Engine

USE_BZIP2=	yes
USE_CMAKE=	yes
USE_GNOME=	gtk20

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800067
.if ${ARCH} == "amd64"
CFLAGS+=	-fPIC
.endif
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-style-qt_settings.c
.endif

post-extract:
.if ${OSVERSION} < 800067
	${CP} ${FILESDIR}/getline.h ${WRKSRC}/style
	${CP} ${FILESDIR}/getline.c ${WRKSRC}/style
.endif

.include <bsd.port.post.mk>