Changeset View
Changeset View
Standalone View
Standalone View
x11-themes/slim-freebsd-black-theme/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= slim-freebsd-black-theme | PORTNAME= slim-freebsd-black-theme | ||||
DISTVERSION= 1.0 | DISTVERSION= 1.1 | ||||
CATEGORIES= x11-themes | CATEGORIES= x11-themes | ||||
MAINTAINER= lebarondemerde@privacychain.ch | MAINTAINER= lebarondemerde@privacychain.ch | ||||
COMMENT= Simple FreeBSD SLiM theme inspired on the FreeBSD SLiM theme | COMMENT= Simple FreeBSD SLiM theme inspired on the FreeBSD SLiM theme | ||||
LICENSE= CC-BY-SA-3.0 | LICENSE= CC-BY-4.0 | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
RUN_DEPENDS= montserrat>=0:x11-fonts/montserrat | RUN_DEPENDS= montserrat>=0:x11-fonts/montserrat | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= lebarondemerde | GH_ACCOUNT= lebarondemerde | ||||
NO_ARCH= yes | |||||
NO_BUILD= yes | NO_BUILD= yes | ||||
THEMEDIR_REL= share/slim/themes/slim-freebsd-black-theme | OPTIONS_DEFINE= DOCS | ||||
THEMEDIR= ${PREFIX}/${THEMEDIR_REL} | |||||
PLIST_SUB= THEMEDIR=${THEMEDIR_REL} | |||||
PORTDOCS= AUTHORS TRADEMARKS | |||||
PLIST_FILES= share/slim/themes/slim-freebsd-black-theme/background.png \ | |||||
share/slim/themes/slim-freebsd-black-theme/panel.png \ | |||||
share/slim/themes/slim-freebsd-black-theme/preview.png \ | |||||
share/slim/themes/slim-freebsd-black-theme/slim.theme | |||||
mat: This is only used once, It should probably go. | |||||
Done Inline ActionsWrong place in the Makefile. See Chapter 15. Order of Variables in Port Makefiles. mat: Wrong place in the Makefile. See [[ https://www.freebsd.org/doc/en/books/porters… | |||||
SUB_FILES= pkg-message | SUB_FILES= pkg-message | ||||
PORTDOCS= README.md AUTHORS COPYING TRADEMARKS | |||||
OPTIONS_DEFINE= DOCS | THEME_PATH= share/slim/themes/slim-freebsd-black-theme | ||||
do-install: | do-install: | ||||
${MKDIR} ${STAGEDIR}${THEMEDIR} | ${MKDIR} ${STAGEDIR}${THEME_PATH} | ||||
Not Done Inline ActionsWrong place in the Makefile. See Chapter 15. Order of Variables in Port Makefiles. mat: Wrong place in the Makefile. See [[ https://www.freebsd.org/doc/en/books/porters… | |||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${THEMEDIR} \ | (cd ${WRKSRC}/src && \ | ||||
"! ( -name README.md -o -name AUTHORS -o -name COPYING -o -name TRADEMARKS )") | ${COPYTREE_SHARE} . ${STAGEDIR}/${THEME_PATH}) | ||||
post-install-DOCS-on: | |||||
${MKDIR} ${STAGEDIR}${DOCSDIR} | ${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
(cd ${WRKDIR}/${PORTNAME}-${PORTVERSION} && \ | (cd ${WRKSRC}/doc && \ | ||||
${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) | ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) | ||||
Done Inline ActionsINSTALL_DATA. mat: `INSTALL_DATA`.
Also, remove whitespace changes.
| |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
This is only used once, It should probably go.