summaryrefslogtreecommitdiffstats
path: root/games/2048/Makefile
blob: 47b28551598e23291a08daed4c0f16550a44137a (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
# Created by: Steve Wills <swills@FreeBSD.org>
# $FreeBSD$

PORTNAME=	2048
PORTVERSION=	0.9.1
DISTVERSIONPREFIX=	v
CATEGORIES=	games

MAINTAINER=	swills@FreeBSD.org
COMMENT=	Command line version of 2048

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USE_GITHUB=	yes
GH_ACCOUNT=	Tiehuis
GH_PROJECT=	2048-cli

USES=		ncurses gmake
ALL_TARGET=	curses
PLIST_FILES=	bin/2048 man/man1/2048.1.gz
PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/2048 ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/man/2048.1 ${STAGEDIR}${PREFIX}/man/man1
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}

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