aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/gtk-cleanice-engine/Makefile
blob: 0e94df860d28e29e741090cea35103e5ca3f2116 (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
# Created by: Philip Paeps <philip@paeps.cx>
# $FreeBSD$

PORTNAME=   gtk-cleanice-engine
PORTVERSION=    2.4.1
PORTREVISION=   5
CATEGORIES= x11-themes gnome
MASTER_SITES=   SF/elysium-project/gtk-engines-cleanice/${PORTVERSION} \
        SF/elysium-project/gtk-engines-cleanice/1.2.7:theme
DISTNAME=   gtk-engines-cleanice-${PORTVERSION}
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} \
        ${THEME}${EXTRACT_SUFX}:theme

MAINTAINER= ports@FreeBSD.org
COMMENT=    A simplistic GTK+ 2.x theme engine

USES=       pathfix pkgconfig
USE_GNOME=  gtk20
USE_AUTOTOOLS=  libtool

THEME=      cleanice-theme-1.2.7
THEMEDIR=   ${WRKDIR}/${THEME}/Theme

post-install:
    @${MKDIR} ${PREFIX}/share/themes/CleanIce
    ${INSTALL_DATA} ${THEMEDIR}/cleanice/index.theme \
        ${PREFIX}/share/themes/CleanIce
    @${MKDIR} ${PREFIX}/share/themes/CleanIce/gtk-2.0
    ${INSTALL_DATA} ${THEMEDIR}/cleanice/gtkrc \
        ${PREFIX}/share/themes/CleanIce/gtk-2.0
    @${MKDIR} ${PREFIX}/share/themes/CleanIce/metacity-1
    ${INSTALL_DATA} ${THEMEDIR}/cleanice/metacity-theme-1.xml \
        ${PREFIX}/share/themes/CleanIce/metacity-1
    @${MKDIR} ${PREFIX}/share/themes/CleanIce-Dark/gtk-2.0
    ${INSTALL_DATA} ${THEMEDIR}/cleanice-dark/gtkrc \
        ${PREFIX}/share/themes/CleanIce-Dark/gtk-2.0

.include <bsd.port.mk>