9fce47c2df
A big Thank You to the original contributors of these ports: * Alexander Vereeken <Alexander88207@protonmail.com> * Alexey Dokuchaev <danfe@FreeBSD.org> * Alexey Mikhailov <karma@ez.pereslavl.ru> * Babak Farrokhi <babak@farrokhi.net> * David Naylor <naylor.b.david@gmail.com> * Douglas Thrift <douglas@douglasthrift.net> * Emanuel Haupt <ehaupt@FreeBSD.org> * Eygene Ryabinkin <rea-fbsd@codelabs.ru> * Filippo Natali <filippo@widestore.net> * Grzegorz Blach <gblach@FreeBSD.org> * Gustau Perez i Querol <gustau.perez@gmail.com> * Gustau Pérez i Querol <gustau.perez@gmail.com> * Jesper Schmitz Mouridsen * Joe Marcus Clarke <marcus@FreeBSD.org> * Jonathan Chen <jonc@chen.org.nz> * Kris Moore <kmoore@FreeBSD.org> * Marie Loise Nolden <loise@kde.org> * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> * Martin Wilke <miwi@FreeBSD.org> * Matthias Petermann <matthias@petermann-it.de> * Michael Johnson <ahze@FreeBSD.org> * Nicola Stanislao Vitale <nivit@FreeBSD.org> * Nicole Reid <root@cooltrainer.org> * Olivier Duchateau * Oyvind Albrigtsen * Pawel Pekala <pawel@FreeBSD.org> * Phillip Neumann <pneumann@gmail.com> * Piotr Smyrak <smyru@heron.pl> * Remington Lang <MrL0L@charter.net> * Romain Tartiere <romain@blogreen.org> * Tom McLaughlin <tmclaugh@sdf.lonestar.org> * Veniamin Gvozdikov <vg@FreeBSD.org> * archfan <mail_me@riseup.net> * chinsan * gahr * lightside <lightside@gmx.com> * olgeni@FreeBSD.org With hat: portmgr
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
PORTNAME= digital-harmony
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 8
|
|
CATEGORIES= x11-themes gnome
|
|
MASTER_SITES= http://freebsd.nsu.ru/distfiles/ LOCAL/danfe
|
|
PKGNAMEPREFIX= ${TYPE}-
|
|
PKGNAMESUFFIX= -theme
|
|
DISTNAME= Digital-Harmony
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Another popular theme for GNOME desktop
|
|
|
|
NO_BUILD= yes
|
|
|
|
TYPE?= gtk
|
|
THEME_NAME= ${DISTNAME}
|
|
|
|
.if ${TYPE} == gtk
|
|
THEME_DIR= ${PREFIX}/share/themes/${THEME_NAME}
|
|
PLIST_SUB+= GTK20="" METACITY="@comment "
|
|
USES+= gnome
|
|
USE_GNOME= gtk20
|
|
.else # metacity
|
|
THEME_DIR= ${PREFIX}/share/themes/${THEME_NAME}
|
|
PLIST_SUB+= GTK20="@comment " METACITY=""
|
|
.endif
|
|
|
|
post-extract:
|
|
@${RM} -r ${WRKSRC}/gtk-2.0/Scrollbars/Backup \
|
|
${WRKSRC}/gtk-2.0/ReadME.txt
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${THEME_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/index.theme ${STAGEDIR}${THEME_DIR}
|
|
.if ${TYPE} == gtk
|
|
cd ${WRKSRC} && ${FIND} gtk-2.0 | \
|
|
${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${THEME_DIR}
|
|
.else
|
|
cd ${WRKSRC} && ${FIND} metacity-1 | \
|
|
${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${THEME_DIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|