aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/sapphire-themes/Makefile
blob: 8d065296ec1dfff411dedb57881e038a9a0edd78 (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
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:	sapphire-themes
# Date created:		2000-09-04
# Whom:			Trevor Johnson
#
# $FreeBSD$
#

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

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

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

REINPLACE_ARGS=	-i '' -E

NO_BUILD=	yes
NO_WRKSUBDIR=	yes

do-patch:
	${REINPLACE_CMD} 's:~/\.:${LOCALBASE}/share/:g' \
		${WRKDIR}/menu/default \
		${WRKDIR}/themes/*.theme
	${REINPLACE_CMD} 's:-15-:-12-:g' ${WRKDIR}/themes/*.theme

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

.include <bsd.port.mk>