aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/clearlooks-themes-extras/Makefile
blob: dee2f2a3e977a1d39f517b139bb6a1028fb792d2 (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
# New ports collection makefile for:    clearlooks-themes-extras
# Date created:             10 April 2005
# Whom:                 Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   clearlooks-themes-extras
PORTVERSION=    0.5.2
PORTREVISION=   1
CATEGORIES= x11-themes
MASTER_SITES=   http://www.kernow-webhosting.com/~bvc/theme/gtk/clearlooks/
DISTNAME=   Clearlooks-Big_Pack-${PORTVERSION}

MAINTAINER= mezz@FreeBSD.org
COMMENT=    Extras colour schemes for Clearlooks engine theme

NO_BUILD=   yes
USE_X_PREFIX=   yes
USE_REINPLACE=  yes

THEME_DIR=  ${PREFIX}/share/themes

.include <bsd.port.pre.mk>

.if exists(${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc) || defined(WITH_GTKENGINE)
RUN_DEPENDS=    ${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-themes/gtk-engines2
.else
RUN_DEPENDS=    ${X11BASE}/lib/gtk-2.0/2.4.0/engines/libclearlooks.so:${PORTSDIR}/x11-themes/clearlooks
.endif

do-install:
    @${MKDIR} ${THEME_DIR}
    @cd ${WRKSRC} && ${FIND} . -print | \
        ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEME_DIR}

.include <bsd.port.post.mk>