summaryrefslogtreecommitdiff
path: root/games/toppler/Makefile
blob: 51205ef5f6aa3e7487b723c48e653b2b233005a6 (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
# Created by: Dom Mitchell <dom@happygiraffe.net>
# $FreeBSD$

PORTNAME=	toppler
PORTVERSION=	1.1.5
PORTREVISION=	4
CATEGORIES=	games
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}

MAINTAINER=	makc@FreeBSD.org
COMMENT=	Climb a tower and avoid monsters

LICENSE=	GPLv2

USE_SDL=	mixer sdl
USES=		gettext gmake
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--localstatedir=/var/games

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

OPTIONS_DEFINE=	DOCS

SCOREFILE=	/var/games/toppler/toppler.hsc

post-install:
	${MV} ${STAGEDIR}${SCOREFILE} ${STAGEDIR}${SCOREFILE}.sample

.include <bsd.port.mk>