mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
PORTNAME= meritous
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 11
|
|
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= dos2unix gmake sdl tar:bzip2
|
|
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>
|