Tweak games/kreversi version 4.14.3
[dports.git] / games / openglad / Makefile
1 # Created by: Kirill Ponomarew <ponomarew@oberon.net>
2 # $FreeBSD$
3
4 PORTNAME=       openglad
5 PORTVERSION=    0.98
6 PORTREVISION=   10
7 CATEGORIES=     games
8 MASTER_SITES=   SF/snowstorm/OpenGlad/Openglad-${PORTVERSION}
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        SDL port of an old DOS game called Gladiator
12
13 LICENSE=        GPLv2+
14 LICENSE_FILE=   ${WRKSRC}/COPYING
15
16 USES=           gmake
17 USE_SDL=        sdl mixer
18 GNU_CONFIGURE=  yes
19
20 CPPFLAGS+=      -I${LOCALBASE}/include
21 LDFLAGS+=       -L${LOCALBASE}/lib
22
23 DESKTOP_ENTRIES="OpenGlad" "" "" "${PORTNAME}" "" ""
24
25 NOT_FOR_ARCHS=  sparc64
26
27 OPTIONS_DEFINE= DOCS
28
29 post-patch:
30         @${REINPLACE_CMD} -e \
31                 's|COPYING INSTALL|INSTALL|' ${WRKSRC}/Makefile.in
32         @${REINPLACE_CMD} -e \
33                 's|/path/to/data/dir|${DATADIR}|' ${WRKSRC}/openglad.cfg
34
35 .include <bsd.port.mk>