1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/openglad/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

35 lines
736 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
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= SF/snowstorm/OpenGlad/Openglad-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= SDL port of an old DOS game called Gladiator
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_SDL= sdl mixer
CPPFLAGS+= -I${LOCALBASE}/include
NOT_FOR_ARCHS= sparc64
.if defined(NOPORTDOCS)
post-patch:
@${REINPLACE_CMD} -e 's|^docs_DOCS = |nono&|' ${WRKSRC}/Makefile.in
.endif
post-configure:
${REINPLACE_CMD} -e 's|/path/to/data/dir|${LOCALBASE}/share/openglad|g' \
${WRKSRC}/openglad.cfg
.include <bsd.port.mk>