blob: 019410c703b4429bbe91c17d75fdebdd981870d8 (
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
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= syobon
PORTVERSION= 1.0.1
PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= http://zapek.com/wp-content/uploads/2010/09/ \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= ${PORTNAME}_${DISTVERSION}_src${EXTRACT_SUFX} \
${PORTNAME}.png:icons
EXTRACT_ONLY= ${PORTNAME}_${DISTVERSION}_src${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Platform game as Super Mario Bros
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= dos2unix gmake pkgconfig
DOS2UNIX_FILES= *.cpp *.txt
USE_SDL= sdl gfx image mixer ttf
USE_GCC= yes
ALL_TARGET= ${PORTNAME}
MAKE_ENV= GAMEDATA="${DATADIR}"
PORTDOCS= README.txt
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Syobon Action" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.for d in BGM SE res
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
.endfor
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|