2003-05-14 07:18:29 +02:00
|
|
|
# New ports collection makefile for: openglad
|
|
|
|
# Date created: 13 May 2003
|
|
|
|
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= openglad
|
|
|
|
PORTVERSION= 0.98
|
2010-01-30 10:43:31 +01:00
|
|
|
PORTREVISION= 6
|
2003-05-14 07:18:29 +02:00
|
|
|
CATEGORIES= games
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/snowstorm/OpenGlad/Openglad-${PORTVERSION}
|
2003-05-14 07:18:29 +02:00
|
|
|
|
2004-08-08 10:11:20 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-05-14 07:18:29 +02:00
|
|
|
COMMENT= SDL port of an old DOS game called Gladiator
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2004-01-20 18:37:47 +01:00
|
|
|
USE_SDL= sdl mixer
|
2003-05-14 07:18:29 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
2003-05-14 07:18:29 +02:00
|
|
|
|
2004-02-27 00:17:31 +01:00
|
|
|
NOT_FOR_ARCHS= sparc64
|
|
|
|
|
2008-08-24 21:05:39 +02:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|^docs_DOCS = |nono&|' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
2003-05-14 07:18:29 +02:00
|
|
|
post-configure:
|
|
|
|
${REINPLACE_CMD} -e 's|/path/to/data/dir|${LOCALBASE}/share/openglad|g' \
|
|
|
|
${WRKSRC}/openglad.cfg
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|