aboutsummaryrefslogtreecommitdiffstats
path: root/games/paintown/Makefile
blob: 547d392f6452545fa982fe97d68dd02194efd807 (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
36
37
38
39
40
41
42
# Created by: Bernhard Froehlich <decke@bluelife.at>
# $FreeBSD$

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

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

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS+=   alleg:${PORTSDIR}/devel/allegro \
        png15:${PORTSDIR}/graphics/png \
        freetype:${PORTSDIR}/print/freetype2

USE_BZIP2=  yes
USE_SCONS=  yes
USE_SDL=    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

NO_STAGE=   yes
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>