Changeset View
Standalone View
x11-themes/materia-gtk-theme/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
PORTNAME= materia-gtk-theme | |||||
DISTVERSIONPREFIX= v | |||||
DISTVERSION= 20190201 | |||||
CATEGORIES= x11-themes | |||||
MAINTAINER= tagattie@yandex.com | |||||
COMMENT= Material Design theme for GNOME/GTK+ based desktop environments | |||||
LICENSE= GPLv2 | |||||
LICENSE_FILE= ${WRKSRC}/COPYING | |||||
BUILD_DEPENDS= bash:shells/bash | |||||
RUN_DEPENDS= gtk-murrine-engine>0:x11-themes/gtk-murrine-engine \ | |||||
gnome-themes-extra>0:x11-themes/gnome-themes-extra | |||||
USES= shebangfix | |||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= nana-4 | |||||
GH_PROJECT= materia-theme | |||||
tcberner: ^ why not use that as the portname? | |||||
Done Inline ActionsThere is a matching Materia theme for KDE. rigoletto: There is a matching Materia theme for KDE. | |||||
Not Done Inline ActionsI wanted to make it clear that this port is GTK/Gnome theme because there is a materia theme for KDE as well. But I'm indifferent. materia-theme is fine with me. tagattie_yandex.com: I wanted to make it clear that this port is GTK/Gnome theme because there is a materia theme… | |||||
NO_ARCH= yes | |||||
NO_BUILD= yes | |||||
SHEBANG_FILES= install.sh | |||||
do-install: | |||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/themes | |||||
${WRKSRC}/install.sh --dest ${STAGEDIR}${PREFIX}/share/themes | |||||
Done Inline ActionsIs COPYING necessary here? The license file is installed in "licenses" directory as well. tagattie_yandex.com: Is COPYING necessary here? The license file is installed in "licenses" directory as well. | |||||
Done Inline ActionsYes. There is no "licenses" directory. If upstream doesn't do it automatically at the install time that will not be in the ${DOCSDIR} if the port doesn't take care of it. :-) rigoletto: Yes. There is no "licenses" directory. If upstream doesn't do it automatically at the install… | |||||
Done Inline Actions^ why += ? tcberner: ^ why += ? | |||||
Done Inline ActionsThere is another was PORTDOCS in the GNOMESHELL OPTION. rigoletto: There is another was PORTDOCS in the GNOMESHELL OPTION. | |||||
post-install: | |||||
${MKDIR} ${STAGEDIR}${DOCSDIR} | |||||
.for d in COPYING README.md src/gnome-shell/README.md | |||||
(cd ${WRKSRC} && \ | |||||
${COPYTREE_SHARE} ${d} ${STAGEDIR}${DOCSDIR}) | |||||
.endfor | |||||
.for c in COPYING README.md gnome-shell/README.md | |||||
Done Inline Actions^ there should be some toggle for that for the build system to turn it on and off -- which kind of contradicts NO_BUILD -- why do you need it present? tcberner: ^ there should be some toggle for that for the build system to turn it on and off -- which kind… | |||||
Done Inline ActionsGood point! I was sure I've saw on the install file it would detect the gnome-shell presence on-the-fly to add or not the gnome-shell theme; however testing it now I see it is added anyway. So if that was true no-gnome user would need to build half gnome just to get one gtk theme. ^^ rigoletto: Good point! I was sure I've saw on the install file it would detect the gnome-shell presence on… | |||||
${RM} ${STAGEDIR}${PREFIX}/share/themes/*/${c} | |||||
.endfor | |||||
.include <bsd.port.mk> | |||||
Done Inline ActionsShould this be ${STAGEDIR}${PREFIX}/share/themes ? tagattie_yandex.com: Should this be ${STAGEDIR}${PREFIX}/share/themes ? | |||||
Done Inline ActionsYes, thank you. rigoletto: Yes, thank you. | |||||
Done Inline ActionsRemoving top-level README.md's seems unnecessary since they are not installed in each theme directory. tagattie_yandex.com: Removing top-level README.md's seems unnecessary since they are not installed in each theme… | |||||
Done Inline ActionsYes, they are. I got tons of them after running make makeplist. ^^ rigoletto: Yes, they are. I got tons of them after running `make makeplist`. ^^ | |||||
Done Inline ActionsPORTDOCS= --> PORTDOCS+= ? tagattie_yandex.com: PORTDOCS= --> PORTDOCS+= ? | |||||
Done Inline ActionsThat is in the previous/general one. ^^ rigoletto: That is in the previous/general one. ^^ | |||||
Done Inline ActionsGNOMESHELL_PORTDOCS=.... mat: ```
GNOMESHELL_PORTDOCS=....
``` | |||||
Done Inline ActionsPORTDOCS contains files, why use COPYTREE_SHARE and not INSTALL_DATA? mat: `PORTDOCS` contains files, why use `COPYTREE_SHARE` and not `INSTALL_DATA`? | |||||
Done Inline ActionsDon't use both do- and post- for the same stage, put everything in do-install. mat: Don't use both do- and post- for the same stage, put everything in do-install. |
^ why not use that as the portname?