diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-10 02:44:24 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-10 02:44:24 +0000 |
commit | 162376fd71b23427ce24d69172e6e73cdb6e77fb (patch) | |
tree | 5ebf29e401682ef8fddcd47d065f43a28926e33f /devel/cmake | |
parent | affa232cd868ffed56b05b263677e595d6517afd (diff) | |
download | pkgsrc-162376fd71b23427ce24d69172e6e73cdb6e77fb.tar.gz |
bl3ify, and set USE_LANGUAGES appropriately
Diffstat (limited to 'devel/cmake')
-rw-r--r-- | devel/cmake/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile index 37c1bdde770..009276ad67b 100644 --- a/devel/cmake/Makefile +++ b/devel/cmake/Makefile @@ -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 @@ MASTER_SITES= http://www.cmake.org/files/ MAINTAINER= tech-pkg@NetBSD.org 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" |