diff options
author | markd <markd@pkgsrc.org> | 2008-09-16 22:51:20 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2008-09-16 22:51:20 +0000 |
commit | b053ac945741c9db316aff26273f9aade2790497 (patch) | |
tree | fe0b7e2c243c54a859ca37f83047b6d388d9dba9 /misc/stellarium | |
parent | 78faeb3dbbd3920c08b41e80736ed69c918636c4 (diff) | |
download | pkgsrc-b053ac945741c9db316aff26273f9aade2790497.tar.gz |
Use USE_CMAKE.
Diffstat (limited to 'misc/stellarium')
-rw-r--r-- | misc/stellarium/Makefile | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/misc/stellarium/Makefile b/misc/stellarium/Makefile index 8d0ad933fe5..556553c4218 100644 --- a/misc/stellarium/Makefile +++ b/misc/stellarium/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2008/09/16 13:23:42 drochner Exp $ +# $NetBSD: Makefile,v 1.27 2008/09/16 22:51:20 markd Exp $ DISTNAME= stellarium-0.9.1 CATEGORIES= misc @@ -13,18 +13,11 @@ PKG_DESTDIR_SUPPORT= user-destdir USE_LANGUAGES= c c++ USE_PKGLOCALEDIR= yes USE_TOOLS+= gmake +USE_CMAKE= yes -BUILD_DEPENDS+= cmake-[0-9]*:../../devel/cmake - -CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} -CM_ARGS+= -D CMAKE_INSTALL_PREFIX:PATH=${PREFIX} -CM_ARGS+= -D FreeType2_INCLUDE_DIR:PATH=${LOCALBASE}/include/freetype2 -CM_ARGS+= -D FreeType2_LIBRARIES:PATH=${LOCALBASE}/lib -CM_ARGS+= -D SDLMIXER_INCLUDE_DIR:PATH=${LOCALBASE}/include/SDL -CM_ARGS+= -D CMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=TRUE - -do-configure: - (cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} cmake ${CM_ARGS} .) +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 .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" |