freebsd-ports/x11-themes/qtcurve-gtk2/Makefile
2010-12-05 19:10:32 +00:00

42 lines
952 B
Makefile

# New ports collection makefile for: qtcurve-gtk2
# Date created: 23 May 2008
# Whom: Dmitry Klimov <lazyklimm@gmail.com>
#
# $FreeBSD$
#
PORTNAME= qtcurve
PORTVERSION= 1.8.0
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
.if ${OSVERSION} < 701101
${CP} ${FILESDIR}/getline_strndup.c ${WRKSRC}/style/getline.c
.else
${CP} ${FILESDIR}/getline.c ${WRKSRC}/style/getline.c
.endif
.endif
.include <bsd.port.post.mk>