aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/cursor-dmz-theme/Makefile
blob: 8582ae7b37785f96bd456a18e79e8c63218c5385 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

PORTNAME=	cursor-dmz-theme
DISTVERSION=	0.4.5
CATEGORIES=	x11-themes
MASTER_SITES=	DEBIAN/pool/main/d/dmz-cursor-theme
DISTNAME=	dmz-cursor-theme_${PORTVERSION}

MAINTAINER=	mbeis@xs4all.nl
COMMENT=	DMZ style neutral scalable cursor theme

LICENSE=	CC-BY-SA-3.0

BUILD_DEPENDS=	xcursorgen:x11/xcursorgen

USES=		tar:xz
NO_ARCH=	yes

WRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}/DMZ-White
DATADIR=	${PREFIX}/share/icons/Vanilla-DMZ

do-build:
	(cd ${WRKSRC}/pngs && ${SH} make.sh)

do-install:
	@${MKDIR} ${STAGEDIR}${DATADIR}
	(cd ${WRKSRC} && ${INSTALL_DATA} index.theme \
		${STAGEDIR}${DATADIR})
	@${MKDIR} ${STAGEDIR}${DATADIR}/cursors
	(cd ${WRKSRC}/xcursors && ${COPYTREE_SHARE} . \
		${STAGEDIR}${DATADIR}/cursors)

.include <bsd.port.mk>