summaryrefslogtreecommitdiffstats
path: root/games/trigger-data/Makefile
blob: decdb638179f14b23cb1efa0c3423421b0a6b508 (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
# $FreeBSD$

PORTNAME=	trigger-data
PORTVERSION=	0.6.1
CATEGORIES=	games
MASTER_SITES=	SF/trigger-rally/trigger-${PORTVERSION}
DISTNAME=	trigger-rally-${PORTVERSION}-data

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Data files for trigger-rally

USES=		tar:bzip2

DATADIR=	${PREFIX}/share/trigger-rally

NO_ARCH=	yes
NO_BUILD=	yes

do-install:
	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
.for i in 16 22 24 32 36 48 64 72 96 128 192 256
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ && \
	${MV} ${STAGEDIR}${DATADIR}/icon/trigger-${i}.png \
		${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/trigger.png
.endfor
# Avoid conflict with trigger-rally
	@${RM} ${STAGEDIR}${DATADIR}/COPYING* \
		${STAGEDIR}${DATADIR}/README*

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