aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/gtk-qt-engine/Makefile
blob: d7a10eebcd365863e002859b5b19d30067404ee5 (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
39
40
# New ports collection makefile for:    gtk-qt-engine
# Date created:                         23 February 2004
# Whom:                                 Danny Pansters <danny@ricin.com>
#
# $FreeBSD$
#

PORTNAME=	gtk-qt-engine
PORTVERSION=	0.3
CATEGORIES=	x11-themes
MASTER_SITES=	http://www.freedesktop.org/Software/gtk-qt/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	The GTK-QT Theme Engine allows GTK2 to use QT widget styles

USE_BZIP2=	yes
USE_X_PREFIX=	yes
USE_GMAKE=	yes
USE_LIBTOOL_VER=	13
WANT_GNOME=	no
USE_GNOME=	gnomehack gtk20
USE_QT_VER=	3
USE_REINPLACE=	yes

PLIST_SUB=	GTK_VER=2.4.0

PKGMESSAGE=	${WRKDIR}/pkg-message

pre-configure:
	@${RM} -f ${WRKSRC}/config.cache
	@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/configure

post-install:
	@${ECHO_MSG}
	@${SED} -e "s:/usr/X11R6:${PREFIX}:" ${FILESDIR}/pkg-message.in	\
		> ${PKGMESSAGE}
	@${CAT} ${PKGMESSAGE}
	@${ECHO_MSG}

.include <bsd.port.mk>