freebsd-ports/games/gl-117/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

39 lines
846 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= gl-117
PORTVERSION= 1.3.2
DISTVERSIONSUFFIX= -src
PORTREVISION= 11
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/GL-117%20Source
MAINTAINER= erik@bz.bzflag.bz
COMMENT= OpenGL & SDL action flight simulator
USES= gl tar:bzip2
USE_GL= glut
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-opengl-dir=${LOCALBASE}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
DESKTOP_ENTRIES= "GL-117" \
"Action flight simulator" \
"" \
"gl-117" \
"Game;ArcadeGame;" \
false
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/gl-117.6 ${STAGEDIR}${MANPREFIX}/man/man6
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/gl-117.pdf ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>