aboutsummaryrefslogtreecommitdiff
path: root/games/sets/Makefile
blob: 15eb19742b9f705a32d92b1cdb40b051898752d5 (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
42
43
# Created by: nemysis <nemysis@gmx.ch>
# $FreeBSD$

PORTNAME=	sets
PORTVERSION=	1.0.0
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	http://www.linuxmotors.com/sets/downloads/ \
		SF/nemysisfreebsdp/${CATEGORIES}/:icons
EXTRACT_SUFX=	.tgz
DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
		${PORTNAME}.png:icons
EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}

MAINTAINER=	nemysis@FreeBSD.org
COMMENT=	This is an implementation of the sets game

LICENSE=	GPLv3

USES=		gmake
USE_SDL=	sdl image
ALL_TARGET=	${PORTNAME}

PLIST_FILES=	bin/${PORTNAME} \
		share/pixmaps/${PORTNAME}.png

PORTDOCS=	README

OPTIONS_DEFINE=	DOCS

DESKTOP_ENTRIES="Sets" "" "${PORTNAME}" \
		"${PORTNAME}" "Game;CardGame;" ""

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/

	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
		${STAGEDIR}${PREFIX}/share/pixmaps/

	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>