blob: 363ebc6198cdb1ee13587a7f1c28ad4dff60a538 (
plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
PORTNAME= plata-theme
PORTVERSION= 0.9.9
CATEGORIES= x11-themes
MAINTAINER= tagattie@FreeBSD.org
COMMENT= Gtk theme based on Material Design Refresh
LICENSE= GPLv2 CC-BY-SA-4.0
LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LICENSE_FILE_CC-BY-SA-4.0= ${WRKSRC}/LICENSE_CC_BY_SA4
BUILD_DEPENDS= inkscape:graphics/inkscape \
sassc:textproc/sassc \
bash:shells/bash
RUN_DEPENDS= gtk-murrine-engine>0:x11-themes/gtk-murrine-engine \
roboto-fonts-ttf>0:x11-fonts/roboto-fonts-ttf
USES= autoreconf gmake gnome pkgconfig shebangfix
USE_GNOME= gdkpixbuf2 gtk30 libxml2
USE_GITLAB= yes
GL_ACCOUNT= tista500
GL_COMMIT= 1dd0953f1d6a35777388d39f46e2428c038042be
NO_ARCH= yes
SHEBANG_REGEX= ./src/.*\.sh$$
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gtk_next \
--disable-flashback \
--disable-telegram \
--disable-tweetdeck \
--disable-airforsteam
PORTDOCS= README.md README.window-list
OPTIONS_DEFINE= CINNAMON DOCS GNOME MATE METACITY OPENBOX PARALLEL PLANK XFCE
OPTIONS_DEFAULT= CINNAMON GNOME MATE METACITY OPENBOX PARALLEL PLANK XFCE
OPTIONS_SUB= yes
CINNAMON_DESC= Enable Cinnamon support
CINNAMON_CONFIGURE_ENABLE= cinnamon
CINNAMON_IMPLIES= METACITY
GNOME_DESC= Enable Gnome support
GNOME_CONFIGURE_ENABLE= gnome
MATE_DESC= Enable Mate support
MATE_CONFIGURE_ENABLE= mate
MATE_IMPLIES= METACITY
MATE_BUILD_DEPENDS= ${LOCALBASE}/lib/libmarco-private.so:x11-wm/marco
METACITY_DESC= Enable Metacity support
OPENBOX_DESC= Enable Openbox support
OPENBOX_CONFIGURE_ENABLE= openbox
PARALLEL_DESC= Enable parallel build
PARALLEL_BUILD_DEPENDS= parallel:sysutils/parallel
PARALLEL_CONFIGURE_ENABLE= parallel
PLANK_DESC= Enable Plank support
PLANK_CONFIGURE_ENABLE= plank
XFCE_DESC= Enable Xfce support
XFCE_CONFIGURE_ENABLE= xfce
post-extract:
${CP} ${WRKSRC}/src/shell/sass/gnome-shell/README.window-list ${WRKSRC}
post-patch:
(cd ${WRKSRC} && \
${FIND} . -type f -iregex '${SHEBANG_REGEX}' \
-exec ${SED} -i '' -e "s/sed -i/& ''/g" {} ';')
${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|; s|$${prefix}|${PREFIX}|' \
${WRKSRC}/README.window-list
post-install:
${RM} ${STAGEDIR}${PREFIX}/share/themes/Plata/COPYING
${RM} ${STAGEDIR}${PREFIX}/share/themes/Plata/LICENSE_CC_BY_SA4
${RM} ${STAGEDIR}${PREFIX}/share/themes/Plata/gnome-shell/extensions/window-list/README
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|