blob: 506aad4f0c502b6148804f361d85014fcb081c9e (
plain)
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
|
# $NetBSD: Makefile,v 1.110 2020/08/17 20:17:26 leot Exp $
DISTNAME= simgear-2019.1.1
PKGREVISION= 13
CATEGORIES= games devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flightgear/release-${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.flightgear.org/
COMMENT= Simulator Construction Tools
LICENSE= gnu-lgpl-v2
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
USE_CMAKE= yes
CONFIGURE_DIRS= sgbuild
BUILD_DIRS= sgbuild
CMAKE_ARG_PATH= ..
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
LDFLAGS.SunOS+= -lsocket -lnsl
post-extract:
${MV} ${WRKSRC}/version ${WRKSRC}/version.txt
# The cmake script warns against building in the source directory.
pre-configure:
cd ${WRKSRC} && ${MKDIR} sgbuild
.include "../../audio/openal-soft/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/osg/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|