aboutsummaryrefslogtreecommitdiff
path: root/games/openglad/Makefile
blob: cc87a901bd46d5935f79dcc3b5a8ef57e14dec13 (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
PORTNAME=	openglad
PORTVERSION=	0.98
PORTREVISION=	10
CATEGORIES=	games
MASTER_SITES=	SF/snowstorm/OpenGlad/Openglad-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	SDL port of an old DOS game called Gladiator
WWW=		http://snowstorm.sourceforge.net

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		gmake sdl
USE_SDL=	sdl mixer
GNU_CONFIGURE=	yes

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

DESKTOP_ENTRIES="OpenGlad" "" "" "${PORTNAME}" "" ""

NOT_FOR_ARCHS=	sparc64

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e \
		's|COPYING INSTALL|INSTALL|' ${WRKSRC}/Makefile.in
	@${REINPLACE_CMD} -e \
		's|/path/to/data/dir|${DATADIR}|' ${WRKSRC}/openglad.cfg

.include <bsd.port.mk>