blob: 0fd805ab4692d21260e6cfcc214ba90d81ce35fa (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= cave9
PORTVERSION= 0.4.1.git20150408
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Gravity cave-exploration game
LICENSE= GPLv3+ CC-BY-SA-3.0 CC-BY-2.5
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/data/README.txt # CC licenses
LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING.txt
USE_GITHUB= yes
GH_ACCOUNT= bart9h
GH_TAGNAME= e6896eb
USES= gmake
USE_SDL= sdl ttf image
USE_GL= gl glu
BUILD_WRKSRC= ${WRKSRC}/src
MAKEFILE= GNUmakefile
CFLAGS+= -DDATADIR=\\\"${DATADIR}\\\"
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
DESKTOP_ENTRIES="${PORTNAME}" \
"" \
"${DATADIR}/icon.png" \
"${PORTNAME}" \
"Game;ArcadeGame;" \
""
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cave9 ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}
.for d in wav png ttf jpg
${INSTALL_DATA} ${WRKSRC}/data/*.$d ${STAGEDIR}${DATADIR}/
.endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/AUTHORS.txt ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|