aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/gtk-E17-theme/Makefile
blob: d2c3abe63e32c74cbe61c75690c7fbfc58720daa (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
# $FreeBSD$

PORTNAME=   E17
PORTVERSION=    20151119
PORTREVISION=   1
CATEGORIES= x11-themes enlightenment
MASTER_SITES=   http://www.ppload.com/api/files/download?id=1462258825&filename=/
PKGNAMEPREFIX=  gtk-
PKGNAMESUFFIX=  -theme
DISTNAME=   163472-${PORTNAME}${PKGNAMEPREFIX}${PORTVERSION}

MAINTAINER= matthew@reztek.cz
COMMENT=    Dark GTK theme for Enlightenment

FETCH_BEFORE_ARGS=  -o ${DISTFILES}

USES=       tar:xz
NO_ARCH=    yes
NO_BUILD=   yes
THEME_NAME= E17gtk
THEME_DIR=  ${PREFIX}/share/themes/${THEME_NAME}
WRKSRC=     ${WRKDIR}/${THEME_NAME}

do-install:
    @${MKDIR} ${STAGEDIR}${THEME_DIR}
.for dir in gtk-2.0 gtk-3.0
    cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${THEME_DIR}
.endfor
    ${INSTALL_DATA} ${WRKSRC}/index.theme ${STAGEDIR}${THEME_DIR}

.include <bsd.port.mk>