pkgsrc-Users archive

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

misc/vym: Switch from USE_CMAKE to build.mk



misc/vym: Switch from USE_CMAKE to build.mk

Remove unneeded CMAKE_ARG_PATH.
diff --git a/misc/vym/Makefile b/misc/vym/Makefile
index 75a27d6f753c..d5b1efe74b94 100644
--- a/misc/vym/Makefile
+++ b/misc/vym/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2024/08/25 06:19:03 wiz Exp $
+# $NetBSD$
 #
 
 DISTNAME=		vym-2.9.28
@@ -17,7 +17,6 @@ DEPENDS+=		zip-[0-9]*:../../archivers/zip
 
 USE_LANGUAGES=		c c++
 USE_TOOLS+=		bash:run pkg-config gmake gzip
-USE_CMAKE=		yes
 
 REPLACE_BASH+=		scripts/vivym
 
@@ -63,7 +62,7 @@ SUBST_MESSAGE.pdf-path=	Fix installing pdf files in share/doc/vym/doc
 SUBST_FILES.pdf-path=	CMakeLists.txt
 SUBST_SED.pdf-path=	-e 's;doc DESTINATION;doc/ DESTINATION;g'
 
-CMAKE_ARG_PATH=		.
+CMAKE_BUILD_DIR=		.
 CMAKE_CONFIGURE_ARGS+=		-DCMAKE_BUILD_TYPE="Release"
 CMAKE_CONFIGURE_ARGS+=		-DCMAKE_INSTALL_PREFIX=${PREFIX}
 CMAKE_CONFIGURE_ARGS+=		-DCMAKE_INSTALL_DATADIR=share/vym
@@ -74,6 +73,7 @@ CMAKE_CONFIGURE_ARGS+=		-DCMAKE_INSTALL_DOCDIR=share/doc/vym
 post-extract:
 	${GZIP_CMD} -d ${WRKSRC}/doc/vym.1.gz
 
+.include "../../devel/cmake/build.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../lang/ruby/buildlink3.mk"
 .include "../../lang/ruby/replace.mk"



Home | Main Index | Thread Index | Old Index