blob: 240b60fe6e50ed3d46b05a48230e3976f544e355 (
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: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= cave9
PORTVERSION= 0.4
CATEGORIES= games
MASTER_SITES= GOOGLE_CODE \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}_src-${PORTVERSION}
DISTFILES= ${DISTNAME}.tgz \
${PORTNAME}_data-${DATAVER}.tgz
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Gravity cave-exploration game
DATAVER= 4
USES= gmake
USE_SDL= sdl ttf image
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
BUILD_WRKSRC= ${WRKSRC}/src
MAKEFILE= GNUmakefile
CFLAGS+= -DDATADIR=\\\"${DATADIR}\\\"
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
post-extract:
@${MV} ${WRKDIR}/data ${WRKSRC}/
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cave9 ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/data/* ${STAGEDIR}${DATADIR}/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|