pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/stellarium Use USE_CMAKE.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a44cb214d02
branches:  trunk
changeset: 547460:0a44cb214d02
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Sep 16 22:51:20 2008 +0000

description:
Use USE_CMAKE.

diffstat:

 misc/stellarium/Makefile |  17 +++++------------
 1 files changed, 5 insertions(+), 12 deletions(-)

diffs (32 lines):

diff -r d4dca82ec62f -r 0a44cb214d02 misc/stellarium/Makefile
--- a/misc/stellarium/Makefile  Tue Sep 16 22:48:14 2008 +0000
+++ b/misc/stellarium/Makefile  Tue Sep 16 22:51:20 2008 +0000
@@ -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 @@
 USE_LANGUAGES=         c c++
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            gmake
-
-BUILD_DEPENDS+=        cmake-[0-9]*:../../devel/cmake
+USE_CMAKE=             yes
 
-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"



Home | Main Index | Thread Index | Old Index