blob: ff7c2bef9af98cd73795ebd2653c1f6316e53477 (
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
44
45
46
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= entombed
PORTVERSION= 2007.07.04
CATEGORIES= games
MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/entombed/ \
ftp://ftp.billsgames.com/unix/x/entombed/ \
SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}.png:icons
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= nemysis@FreeBSD.org
COMMENT= One- or two-player maze game based on the Entombed
LICENSE= GPLv2
USES= gmake
USE_SDL= image mixer sdl
PORTDOCS= AUTHORS.txt CHANGES.txt README.txt TODO.txt
DESKTOP_ENTRIES="Entombed" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" false
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.for d in embedded images images_halfsize music sounds
@(cd ${WRKSRC}/data && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
.endfor
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|