aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/flux-art/Makefile
blob: 0399b27b111239871555d75ecc18dce7af34e302 (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
44
45
46
# New ports collection makefile for:    flux-art
# Date created:         5 August 2004
# Whom:                 Ilya Khamushkin <ilya@space.rootshell.ru>
#
# $FreeBSD$
#

PORTNAME=   flux-art
PORTVERSION=    0.1
PORTREVISION=   5
CATEGORIES= x11-themes
MASTER_SITES=   http://www.iluxa.kremenchug.net/files/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Flux-art themes pack for fluxbox

RUN_DEPENDS=    fluxbox:${PORTSDIR}/x11-wm/fluxbox

CONFLICTS=  fluxbox-fluxmod-*

DEPRECATED=     Upstream disapear and distfile is no more available
EXPIRATION_DATE=        2011-05-01

USE_BZIP2=  yes
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/${PORTNAME}
INSTALL_DIR=    ${PREFIX}/share/fluxbox/styles
THEME_CMD=  cd ${WRKSRC}; ${FIND} * -name theme.cfg
DIRS_CMD=   cd ${WRKSRC}; ${FIND} * -type d
DATA_CMD=   cd ${WRKSRC}; ${FIND} * -type f

pre-install:
    @for theme in `${THEME_CMD}`; do \
        ${SED} -i '' -e "s,~/.fluxbox,${LOCALBASE}/share/fluxbox," ${WRKSRC}/$$theme; \
    done

do-install:
    @for dir in `${DIRS_CMD}`; do \
        ${MKDIR} ${INSTALL_DIR}/$$dir; \
    done

    @for data in `${DATA_CMD}`; do  \
        ${INSTALL_DATA} ${WRKSRC}/$$data ${INSTALL_DIR}/$$data; \
    done

.include <bsd.port.mk>