1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/games/meandmyshadow/Makefile
Marcus von Appen 74c65ae602 - Update graphics/sdl_gfx to version 2.0.25
- Bump PORTREVISION on ports depending on it, since the shlib version changed
2014-06-01 08:11:34 +00:00

50 lines
1.1 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= meandmyshadow
PORTVERSION= 0.4.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Me and My Shadow puzzle/platform game
LICENSE= GPLv3
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
USES= cmake
USE_SDL= sdl ttf image mixer image gfx
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
PORTDOCS= *
PORTDATA= *
DESKTOP_ENTRIES="Me and My Shadow" \
"Puzzle/platform game" \
"${PREFIX}/share/pixmaps/meandmyshadow.png" \
"meandmyshadow" \
"Game;LogicGame;" \
false
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/cmake/Modules/FindSDL_gfx.cmake
post-install:
${INSTALL_DATA} ${WRKSRC}/icons/64x64/meandmyshadow.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in AUTHORS ChangeLog docs/*
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>