freebsd-ports/games/meandmyshadow/Makefile
Max Brazhnikov ffd97a0193 - convert USE_CMAKE to USES
- while here clean up some ports from CMAKE_VERBOSE, which is intended
  for users

Approved by:	portmgr (miwi)
2013-03-22 20:06:14 +00:00

50 lines
1.1 KiB
Makefile

# New ports collection makefile for: meandmyshadow
# Date created: 15 Jan 2012
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= meandmyshadow
PORTVERSION= 0.4
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
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
USES= cmake
USE_SDL= sdl ttf image mixer image gfx
MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDOCS= *
DESKTOP_ENTRIES="Me and My Shadow" \
"Puzzle/platform game" \
"${PREFIX}/share/pixmaps/meandmyshadow.png" \
"meandmyshadow" \
"Game;LogicGame;" \
false
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/cmake/Modules/FindSDL_gfx.cmake
post-install:
${MKDIR} -p ${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKSRC}/icons/64x64/meandmyshadow.png \
${PREFIX}/share/pixmaps/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in AUTHORS ChangeLog docs/*
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>