blob: 5951d1a3f085d627f922eb37142f927d30a95a98 (
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
|
# $NetBSD: Makefile,v 1.49 2012/01/13 10:55:22 obache Exp $
DISTNAME= stellarium-0.11.1
PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=stellarium/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.stellarium.org/
COMMENT= Generate photorealistic skies with OpenGL
PKG_DESTDIR_SUPPORT= user-destdir
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt perl pod2man
CMAKE_ARGS+= -D FreeType2_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.freetype2}/include/freetype2
CMAKE_ARGS+= -D FreeType2_LIBRARIES:PATH=${BUILDLINK_PREFIX.freetype2}/lib
CMAKE_ARGS+= -D SDLMIXER_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.SDL}/include/SDL
SUBST_CLASSES+= mac
SUBST_MESSAGE.mac= Disabling Mac OS X paths.
SUBST_FILES.mac= src/core/StelFileMgr.cpp
SUBST_STAGE.mac= pre-configure
SUBST_SED.mac= -e 's,Q_OS_MAC,Q_XX_MAC,'
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|