summaryrefslogtreecommitdiffstats
path: root/x11-themes/sapphire-themes/Makefile
blob: 05dfa32135f2457ab9784b03cf0f7b8aae2258f4 (plain)
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
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:	sapphire-themes
# Date created:		2000-09-04
# Whom:			trevor@jpj.net
#
# $FreeBSD$
#

PORTNAME=	sapphire-themes
PORTVERSION=	1.1
PORTREVISION=	1
CATEGORIES=	x11-wm
MASTER_SITES=	http://jpj.net/~trevor/${PORTNAME}/
EXTRACT_SUFX=	.tar

MAINTAINER=	trevor@FreeBSD.org
COMMENT=	Themes for sapphire

RUN_DEPENDS=	xli:${PORTSDIR}/graphics/xli \
		xloadimage:${PORTSDIR}/x11/xloadimage \
		sapphire:${PORTSDIR}/x11-wm/sapphire

USE_X_PREFIX=	yes

NO_BUILD=	yes
NO_WRKSUBDIR=	yes

do-patch:
	${PERL} -pi -e 's:~/\.:${X11BASE}/share/:g' \
		${WRKDIR}/menu/default \
		${WRKDIR}/themes/*.theme
	${PERL} -pi -e 's:-15-:-12-:g' ${WRKDIR}/themes/*.theme

do-install:
	${MKDIR} ${X11BASE}/share/sapphire/themes/backgrounds/
	${INSTALL_DATA} ${WRKDIR}/themes/backgrounds/* \
		${X11BASE}/share/sapphire/themes/backgrounds/
	${INSTALL_DATA} ${WRKDIR}/themes/*.theme \
		${X11BASE}/share/sapphire/themes/
	${INSTALL_DATA} ${WRKDIR}/menu/default ${X11BASE}/share/sapphire/menu/

.include <bsd.port.mk>
OpenPOWER on IntegriCloud