47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
|
# 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>
|