freebsd-ports/x11-themes/matcha-gtk-themes/Makefile

34 lines
817 B
Makefile

# Created by: Alexander Vereeken <Alexander88207@protonmail.com>
# $FreeBSD$
PORTNAME= matcha-gtk-themes
DISTVERSION= 2020-11-11
CATEGORIES= x11-themes
MAINTAINER= Alexander88207@protonmail.com
COMMENT= Matcha is a flat Design theme for GTK 3, GTK 2 and Gnome-Shell
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= bash>0:shells/bash
RUN_DEPENDS= gtk-murrine-engine>0:x11-themes/gtk-murrine-engine \
gtk-engines2>0:x11-themes/gtk-engines2
USES= shebangfix
SHEBANG_FILES= install.sh
USE_GITHUB= yes
GH_ACCOUNT= vinceliuice
GH_PROJECT= Matcha-gtk-theme
NO_ARCH= yes
NO_BUILD= yes
post-patch:
@${REINPLACE_CMD} -e 's|cp -ur|cp -pr|g' ${WRKSRC}/install.sh
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/themes
${WRKSRC}/install.sh -d ${STAGEDIR}${PREFIX}/share/themes
.include <bsd.port.mk>