aboutsummaryrefslogtreecommitdiff
path: root/games/paintown/Makefile
blob: f4817c0bcbc82e741ba4da23351d6a9cc17dc080 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Bernhard Froehlich <decke@bluelife.at>
# $FreeBSD$

PORTNAME=	paintown
PORTVERSION=	3.6.0
PORTREVISION=	4
CATEGORIES=	games
MASTER_SITES=	SF

MAINTAINER=	decke@FreeBSD.org
COMMENT=	Fighting game similar to Streets of Rage and TMNT

LICENSE=	BSD3CLAUSE

LIB_DEPENDS=	liballeg.so:${PORTSDIR}/devel/allegro \
		libpng.so:${PORTSDIR}/graphics/png \
		libfreetype.so:${PORTSDIR}/print/freetype2

USES=		dos2unix scons tar:bzip2
USE_SDL=	yes
INSTALLS_ICONS=	yes
DOS2UNIX_REGEX=	.*\.(c|cpp|h)

DESKTOP_ENTRIES="Paintown" "Fighting game similar to Streets of Rage and TMNT" \
		"${LOCALBASE}/share/icons/hicolor/32x32/apps/paintown.png" \
		"paintown" "Game;ActionGame;" false

do-install:
		${MKDIR} ${STAGEDIR}${DATADIR}
		(cd ${WRKSRC} && ./install.sh -d ${STAGEDIR}${DATADIR} -b ${STAGEDIR}${PREFIX}/bin)
		${MKDIR} ${STAGEDIR}${LOCALBASE}/share/icons/hicolor/32x32/apps
		${INSTALL_DATA} ${WRKSRC}/misc/icon.png \
			${STAGEDIR}${LOCALBASE}/share/icons/hicolor/32x32/apps/paintown.png

.include <bsd.port.mk>