Changeset View
Changeset View
Standalone View
Standalone View
x11-themes/sddm-freebsd-black-theme/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= sddm-freebsd-black-theme | PORTNAME= sddm-freebsd-black-theme | ||||
DISTVERSION= 1.0 | DISTVERSION= 1.2 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= x11-themes | CATEGORIES= x11-themes | ||||
MASTER_SITES= https://bitbucket.org/rigoletto-freebsd/sddm-freebsd-black-theme/get/ | |||||
MAINTAINER= lebarondemerde@privacychain.ch | MAINTAINER= rigoletto@FreeBSD.org | ||||
COMMENT= Simple SDDM theme inspired on the FBSD SLiM theme | COMMENT= Simple SDDM theme inspired on the FBSD SLiM theme | ||||
LICENSE= CC-BY-SA-3.0 | LICENSE= CC-BY-SA-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 | NO_ARCH= yes | ||||
GH_ACCOUNT= lebarondemerde | |||||
NO_BUILD= yes | NO_BUILD= yes | ||||
THEMEDIR_REL= share/sddm/themes/sddm-freebsd-black-theme | WRKSRC= ${WRKDIR}/rigoletto-freebsd-${PORTNAME}-2232270b8a94 | ||||
mat: There are locally defined variables, they go after the options block. See [[ https://www. | |||||
THEMEDIR= ${PREFIX}/${THEMEDIR_REL} | PORTDOCS= AUTHORS CHANGELOG TRADEMARKS | ||||
PLIST_SUB= THEMEDIR=${THEMEDIR_REL} | PLIST_SUB= THEMEDIR=${THEMEDIR_REL} | ||||
SUB_FILES= pkg-message | SUB_FILES= pkg-message | ||||
PORTDOCS= README.md AUTHORS COPYING TRADEMARKS | |||||
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… | |||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
THEMEDIR_REL= share/sddm/themes/sddm-freebsd-black-theme | |||||
Done Inline ActionsThis is a standard variable, it goes before the options. See Order of Variables in Port Makefiles. mat: This is a standard variable, it goes before the options. See [[ https://www.freebsd. | |||||
THEMEDIR= ${PREFIX}/${THEMEDIR_REL} | |||||
Done Inline ActionsAll those changes should probably not be made. mat: All those changes should probably not be made. | |||||
do-install: | do-install: | ||||
${MKDIR} ${STAGEDIR}${THEMEDIR} | ${MKDIR} ${STAGEDIR}${THEMEDIR} | ||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${THEMEDIR} \ | (cd ${WRKSRC}/src && \ | ||||
"! ( -name README.md -o -name AUTHORS -o -name COPYING -o -name TRADEMARKS )") | ${COPYTREE_SHARE} . ${STAGEDIR}${THEMEDIR}) | ||||
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 ActionsRemove whitespace changes. Also, INSTALL_DATA. mat: Remove whitespace changes. Also, `INSTALL_DATA`. | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
There are locally defined variables, they go after the options block. See Order of Variables in Port Makefiles.