aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/eazel-themes/Makefile
blob: 824c25ce7b50d0795b1025df6db98cbae9a27884 (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
41
42
43
# New ports collection makefile for:    eazel-themes
# Date created:             17 November 2000
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   eazel-themes
PORTVERSION=    0.0.10731
CATEGORIES= x11-toolkits
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= sobomax
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/0.//g}

MAINTAINER= sobomax@altavista.net

RUN_DEPENDS=    sawfish:${PORTSDIR}/x11-wm/sawfish \
        ${X11BASE}/lib/gtk/themes/engines/libpixmap.so:${PORTSDIR}/x11-toolkits/gtk-engines

WRKSRC=     ${WRKDIR}/${DISTNAME}/gtk+/eazel-engine

USE_GNOMENG=    yes
USE_GNOME=  libcapplet
USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_LIBTOOL=    yes
CONFIGURE_ARGS= --localstatedir=${X11BASE}/share \
        --datadir=${X11BASE}/share

post-extract:
    @${FIND} ${WRKSRC}/../.. -type f | ${GREP} -v eazel-engine | ${XARGS} ${CHMOD} 644
    @${FIND} ${WRKSRC}/../.. -type d | ${XARGS} ${CHMOD} 755

post-install:
    ${MKDIR} ${PREFIX}/share/themes/Eazel
    ${MKDIR} ${PREFIX}/share/sawfish/themes/Eazel
    cd ${WRKSRC}/.. && ${TAR} -chf - Eazel | \
        ${TAR} --unlink -xf - -C ${PREFIX}/share/themes
    cd ${WRKSRC}/../../sawfish &&  ${TAR} -chf - Eazel Ice | \
        ${TAR} --unlink -xf - -C ${PREFIX}/share/sawfish/themes

.include <bsd.port.mk>