blob: cba5b44816009a299fc31a65b64e6c5d59de4616 (
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: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= meritous
PORTVERSION= 1.2
PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= http://www.asceai.net/files/ \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}_v${PORTVERSION:C/\.//}_src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Action-adventure dungeon crawl game
LICENSE= GPLv3
USES= tar:bzip2 dos2unix gmake
USE_SDL= sdl mixer image
ALL_TARGET= default
DOS2UNIX_FILES= dat/d/helpfile.txt src/boss.c src/levelblit.c
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
DESKTOP_ENTRIES="Meritous" \
"Action-adventure dungeon crawl game" \
"${DATADIR}/i/icon.png" \
"meritous" \
"Game;ActionGame;AdventureGame;" \
false
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|dat/|${DATADIR}/|' ${WRKSRC}/src/*.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/meritous ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/dat && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|