git: ba50bfd1585c - main - devel/cmake-core: drop duplication with cmake.mk

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Mon, 08 Apr 2024 09:27:15 UTC
The branch main has been updated by makc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ba50bfd1585c811c22668b318ebb63bb63038fa8

commit ba50bfd1585c811c22668b318ebb63bb63038fa8
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2024-04-08 09:15:43 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2024-04-08 09:15:43 +0000

    devel/cmake-core: drop duplication with cmake.mk
---
 devel/cmake-core/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/devel/cmake-core/Makefile b/devel/cmake-core/Makefile
index c7d1054c060b..9c2d40f285a0 100644
--- a/devel/cmake-core/Makefile
+++ b/devel/cmake-core/Makefile
@@ -55,12 +55,6 @@ OPTIONS_SUB=		yes
 CPACK_DESC=		Enable FreeBSD generator in CPack
 CPACK_LIB_DEPENDS=	libpkg.so:${PKG_ORIGIN}
 
-.include <bsd.port.pre.mk>
-
-.if defined(STRIP) && ${STRIP} != "" && !defined(WITH_DEBUG)
-INSTALL_TARGET=	install/strip
-.endif
-
 # Before running configure, substitute in the values of options
 # for the build. CMake's configure doesn't accept --with-foo
 # or similar options: it expects them to be set in CMake-style
@@ -109,4 +103,4 @@ post-install:
 	# source directories, but gets accidentally installed.
 	@${FIND} ${STAGEDIR}${PREFIX} -name ".NoDartCoverage" -delete
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>