freebsd-ports/x11-themes/freebsd-8k-wallpapers/Makefile
Alexandre C. Guimarães 45627a3e73 Follow up to r482017: upstream address was not updated in pkg-descr of
x11-themes/freebsd-8k-wallpapers
x11-themes/sddm-freebsd-black-theme
x11-themes/slim-freebsd-black-theme

Reported by:	swills
Approved by:	tcberner (mentor)
2018-10-15 05:30:04 +00:00

64 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= freebsd-8k-wallpapers
DISTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= x11-themes
MASTER_SITES= https://bitbucket.org/rigoletto-freebsd/freebsd-8k-wallpapers/get/
MAINTAINER= rigoletto@FreeBSD.org
COMMENT= Collection of simple FreeBSD wallpapers
LICENSE= CC-BY-4.0
LICENSE_FILE= ${WRKSRC}/COPYING
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/rigoletto-freebsd-${PORTNAME}-8b39ec278004
OPTIONS_DEFINE= DOCS
PORTDOCS= AUTHOR TRADEMARKS
SLAVEPORT?= freebsd
.if ${SLAVEPORT:Mkde}
PORTDOCS+= TRADEMARKS-KDE
DOCSDIR_REL= share/doc/${PORTNAME}-${SLAVEPORT}
DOCSDIR= ${PREFIX}/${DOCSDIR_REL}
.endif
.if ${SLAVEPORT:Mfreebsd}
THEMEDIR_REL= share/wallpapers/${PORTNAME}
.elif ${SLAVEPORT:Mkde}
THEMEDIR_REL= share/wallpapers/${PORTNAME}-${SLAVEPORT}
.endif
THEMEDIR= ${PREFIX}/${THEMEDIR_REL}
.if ${SLAVEPORT:Mfreebsd}
FREEBSD_COLORS= FreeBSD-Blue FreeBSD-Green FreeBSD-Purple \
FreeBSD-Red FreeBSD-Yellow
.endif
do-install:
${MKDIR} ${STAGEDIR}${THEMEDIR}
.if ${SLAVEPORT:Mfreebsd}
. for x in ${FREEBSD_COLORS}
( cd ${WRKSRC}/FreeBSD/${x} && \
${COPYTREE_SHARE} . ${STAGEDIR}${THEMEDIR} )
. endfor
.elif ${SLAVEPORT:Mkde}
( cd ${WRKSRC}/KDE && \
${COPYTREE_SHARE} . ${STAGEDIR}${THEMEDIR} \
"! -name preview.png" )
.endif
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
( cd ${WRKSRC}/doc && \
${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} )
.include <bsd.port.mk>