freebsd-ports/games/openglad/Makefile
Kirill Ponomarev 508629af4b * Utilize USE_SDL
Approved by:	fjoe (mentor) (implicit)
2003-07-30 21:11:56 +00:00

32 lines
745 B
Makefile

# New ports collection makefile for: openglad
# Date created: 13 May 2003
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#
PORTNAME= openglad
PORTVERSION= 0.98
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= snowstorm
MAINTAINER= krion@FreeBSD.org
COMMENT= SDL port of an old DOS game called Gladiator
LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_SDL= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
CPPFLAGS="-I${X11BASE}/include"
PLIST_SUB= DOCDIR=share/doc/${PORTNAME}
post-configure:
${REINPLACE_CMD} -e 's|/path/to/data/dir|${LOCALBASE}/share/openglad|g' \
${WRKSRC}/openglad.cfg
.include <bsd.port.mk>