freebsd-ports/games/corsix-th/Makefile
Guido Falsi be56bce716 - Remove explicit run dependency on timidity, it is pulled in by
sdl_mixer [1]
- bump PORTREVISION
- While here update WWW line in pkg-descr and switch tab to space

Submitted by:	green dog <fiziologus@gmail.com> (via email) [1]
2013-01-01 17:45:31 +00:00

36 lines
862 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= corsixth
PORTVERSION= 0.11
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= GOOGLE_CODE
PROJECTHOST= corsix-th
DISTNAME= CorsixTH-${DISTVERSION}-Source
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Open source clone of Theme Hospital
LICENSE= MIT
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2
USE_CMAKE= yes
USE_LUA= yes
USE_SDL= mixer
post-patch:
# Allow the game to find its resources without wrapper scripts
@${REINPLACE_CMD} -e \
'/return loadfile/s,name,\\"${DATADIR}/\\" .. &,' \
${WRKSRC}/CorsixTH/Src/main.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/CorsixTH/CorsixTH ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/CorsixTH/CorsixTH.lua ${DATADIR}
cd ${WRKSRC}/CorsixTH && ${COPYTREE_SHARE} "Bitmap Levels Lua" \
${DATADIR}
.include <bsd.port.mk>