aboutsummaryrefslogtreecommitdiffstats
path: root/games/gl-117/Makefile
blob: 4b88b621a2dd08cd53c7e8945348b256a8565777 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# ex:ts=8
# Ports collection makefile for:    gl-117
# Date created:         Aug 8, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   gl-117
PORTVERSION=    1.3.2
DISTVERSIONSUFFIX=  -src
PORTREVISION=   8
CATEGORIES= games
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/GL-117%20Source

MAINTAINER= erik@bz.bzflag.bz
COMMENT=    An OpenGL & SDL action flight simulator

USE_GL=     glut
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-opengl-dir=${LOCALBASE}
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib ${PTHREAD_LIBS}

DESKTOP_ENTRIES=    "GL-117" \
            "Action flight simulator" \
            "" \
            "gl-117" \
            "Game;ArcadeGame;" \
            false

MAN6=       gl-117.6

post-install:
    ${INSTALL_MAN}  ${WRKSRC}/doc/gl-117.6 ${MANPREFIX}/man/man6
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/gl-117.pdf ${DOCSDIR}
.endif

.include <bsd.port.mk>