pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cmake bl3ify, and set USE_LANGUAGES appropriately



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc6ee2c63f39
branches:  trunk
changeset: 468060:bc6ee2c63f39
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Feb 10 02:44:24 2004 +0000

description:
bl3ify, and set USE_LANGUAGES appropriately

diffstat:

 devel/cmake/Makefile |  21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diffs (38 lines):

diff -r f8f32d992a67 -r bc6ee2c63f39 devel/cmake/Makefile
--- a/devel/cmake/Makefile      Tue Feb 10 02:37:09 2004 +0000
+++ b/devel/cmake/Makefile      Tue Feb 10 02:44:24 2004 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/02/02 08:34:56 grant Exp $
-#
+# $NetBSD: Makefile,v 1.11 2004/02/10 02:44:24 jlam Exp $
 
 DISTNAME=      cmake-1.6.6
 PKGREVISION=   2
@@ -8,17 +7,19 @@
 
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
 HOMEPAGE=      http://www.cmake.org/
-COMMENT=       Cross platform make
+COMMENT=       cross platform make
 
-GNU_CONFIGURE= YES
-USE_BUILDLINK2=        YES
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_BUILDLINK3=        yes
+USE_NCURSES=   yes
 USE_GNU_TOOLS+=        make
-USE_NCURSES=   YES
 
 post-patch:
-       ${MV} ${WRKSRC}/Modules/FindCurses.cmake ${WRKSRC}/Modules/FindCurses.cmake.bak
-       ${SED} 's;@prefix@;${PREFIX};g' ${WRKSRC}/Modules/FindCurses.cmake.bak > \
-               ${WRKSRC}/Modules/FindCurses.cmake
+       for file in ${WRKSRC}/Modules/FindCurses.cmake; do              \
+               ${MV} -f $$file $$file.bak;                             \
+               ${SED} "s|@prefix@|${PREFIX}|g" $$file.bak > $$file;    \
+       done
 
-.include "../../devel/ncurses/buildlink2.mk"
+.include "../../devel/ncurses/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index