1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/games/lugaru/Makefile
2015-06-22 18:33:20 +00:00

49 lines
1.2 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= lugaru
PORTVERSION= 269
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}-rev${DISTVERSION}-src
MAINTAINER= nemysis@FreeBSD.org
COMMENT= 3D arcade with unique fighting system and anthropomorphic characters
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING.txt
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
libvorbis.so:${PORTSDIR}/audio/libvorbis \
libogg.so:${PORTSDIR}/audio/libogg
USES= cmake jpeg openal:soft pkgconfig tar:bzip2
USE_GL= glu
USE_SDL= sdl
USE_XORG= sm
USE_GCC= yes
PORTDOCS= README
OPTIONS_DEFINE= DOCS
SUB_FILES= ${PORTNAME}
DESKTOP_ENTRIES="Lugaru" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ActionGame;" ""
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/lugaru|${DATADIR}|' \
${WRKSRC}/CMakeLists.txt
post-install:
${STRIP_CMD} ${STAGEDIR}${DATADIR}/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${LN} -sf ${DATADIR}/Data/Textures/Lugaru.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>