2013-05-04 23:28:57 +02:00
|
|
|
# Created by: ijliao
|
2002-08-08 07:13:56 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gl-117
|
2005-07-15 10:12:41 +02:00
|
|
|
PORTVERSION= 1.3.2
|
2010-09-01 15:30:25 +02:00
|
|
|
DISTVERSIONSUFFIX= -src
|
2017-05-23 07:03:14 +02:00
|
|
|
PORTREVISION= 11
|
2002-08-08 07:13:56 +02:00
|
|
|
CATEGORIES= games
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/GL-117%20Source
|
2002-08-08 07:13:56 +02:00
|
|
|
|
2010-12-02 00:12:16 +01:00
|
|
|
MAINTAINER= erik@bz.bzflag.bz
|
2014-06-13 09:36:27 +02:00
|
|
|
COMMENT= OpenGL & SDL action flight simulator
|
2002-08-08 07:13:56 +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
|
|
|
USE_GL= glut
|
2014-06-15 12:03:38 +02:00
|
|
|
USES= tar:bzip2
|
2002-08-08 07:13:56 +02:00
|
|
|
GNU_CONFIGURE= yes
|
- 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_ARGS= --with-opengl-dir=${LOCALBASE}
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2015-03-26 00:00:50 +01:00
|
|
|
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
|
2002-08-08 07:13:56 +02:00
|
|
|
|
2010-09-01 15:30:25 +02:00
|
|
|
DESKTOP_ENTRIES= "GL-117" \
|
|
|
|
"Action flight simulator" \
|
|
|
|
"" \
|
|
|
|
"gl-117" \
|
|
|
|
"Game;ArcadeGame;" \
|
|
|
|
false
|
|
|
|
|
2014-02-21 14:36:56 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2013-05-04 23:28:57 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2010-09-01 15:30:25 +02:00
|
|
|
post-install:
|
2014-06-15 12:03:38 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/gl-117.6 ${STAGEDIR}${MANPREFIX}/man/man6
|
2013-05-04 23:28:57 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2014-06-15 12:03:38 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/gl-117.pdf ${STAGEDIR}${DOCSDIR}
|
2010-09-01 15:30:25 +02:00
|
|
|
.endif
|
|
|
|
|
2002-08-08 07:13:56 +02:00
|
|
|
.include <bsd.port.mk>
|