aboutsummaryrefslogtreecommitdiffstats
path: root/games/openglad/Makefile
blob: 83484019f9556c5e3eaecd29cb97c056c5ba4495 (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
# New ports collection makefile for:    openglad
# Date created:             13 May 2003
# Whom:             Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#

PORTNAME=   openglad
PORTVERSION=    0.98
PORTREVISION=   2
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= snowstorm

MAINTAINER= ports@FreeBSD.org
COMMENT=    SDL port of an old DOS game called Gladiator

USE_REINPLACE=  yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_SDL=    sdl mixer

CONFIGURE_ENV=  CPPFLAGS="-I${X11BASE}/include"
PLIST_SUB=  DOCDIR=share/doc/${PORTNAME}

NOT_FOR_ARCHS=  sparc64

post-configure:
    ${REINPLACE_CMD} -e 's|/path/to/data/dir|${LOCALBASE}/share/openglad|g' \
        ${WRKSRC}/openglad.cfg

.include <bsd.port.mk>