blob: 2af449581b207ff4690685ec5dad8eccbe60ad00 (
plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# New ports collection makefile for: clearlooks
# Date created: 2005-02-26
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME?= clearlooks
PORTVERSION= 0.5
CATEGORIES= x11-themes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= clearlooks
DISTNAME= clearlooks-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+ 2.x engine based on Bluecurve
USE_BZIP2= yes
USE_LIBTOOL_VER=15
USE_GNOME= gtk20
USE_X_PREFIX= yes
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}/lib"
.if defined(PORTNAME) && ${PORTNAME} == "clearlooks"
OPTIONS= METACITY "Depend on MetaCity Theme" On \
ANIMATION "Enable experimental animated progressbars" Off
.endif
.include <bsd.port.pre.mk>
.if ${PORTNAME} == "clearlooks"
CONFLICTS= gtk-engines2-[0-9]* clearlooks-themes[0-9]*
PLIST_SUB+= ENGINE=""
.else
CONFLICTS= clearlooks-[0-9]*
BUILD_DEPENDS+= ${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-themes/gtk-engines2
RUN_DEPENDS+= ${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-themes/gtk-engines2
BUILD_WRKSRC= ${WRKSRC}/themes
INSTALL_WRKSRC= ${WRKSRC}/themes
PLIST_SUB+= ENGINE="@comment "
.endif
.if !defined(WITHOUT_METACITY)
RUN_DEPENDS+= ${X11BASE}/share/gnome/themes/Clearlooks/metacity-1/metacity-theme-1.xml:${PORTSDIR}/x11-themes/clearlooks-metacity
.endif
.if defined(WITH_ANIMATION)
CONFIGURE_ARGS+= --enable-animation
.endif
.include <bsd.port.post.mk>
|