freebsd-ports/games/paintown/Makefile
Bernhard Froehlich ea7f22fe17 Paintown is an open source fighting game in the same genre
as Streets of Rage and Teenage Mutant Ninja Turtles.

WWW:	http://paintown.sourceforge.net/

Approved by:	beat (co-mentor)
2010-04-16 13:11:23 +00:00

43 lines
1.1 KiB
Makefile

# New ports collection makefile for: paintown
# Date created: 2010-02-04
# Whom: Bernhard Froehlich <decke@bluelife.at>
#
# $FreeBSD$
#
PORTNAME= paintown
PORTVERSION= 3.3.1
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= decke@FreeBSD.org
COMMENT= Fighting game similar to Streets of Rage and TMNT
LIB_DEPENDS+= alleg.42:${PORTSDIR}/devel/allegro \
png.6:${PORTSDIR}/graphics/png \
freetype:${PORTSDIR}/print/freetype2
USE_SCONS= yes
INSTALLS_ICONS= yes
USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*\.(c|cpp|h)
SCONS_BUILDENV+=CPPPATH="${LOCALBASE}/include" \
LIBPATH="${LOCALBASE}/lib"
DESKTOP_ENTRIES="Paintown" "Fighting game similar to Streets of Rage and TMNT" \
"${LOCALBASE}/share/icons/hicolor/32x32/apps/paintown.png" \
"paintown" "Game;ActionGame;" false
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/src/dumb/SConscript
do-install:
${MKDIR} ${DATADIR}
(cd ${WRKSRC} && ./install.sh -d ${DATADIR} -b ${PREFIX}/bin)
${MKDIR} ${LOCALBASE}/share/icons/hicolor/32x32/apps
${INSTALL_DATA} ${WRKSRC}/misc/icon.png \
${LOCALBASE}/share/icons/hicolor/32x32/apps/paintown.png
.include <bsd.port.mk>