pkgsrc-WIP-changes archive

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

phaethon: Use new-style CMake



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <charlotte%NetBSD.org@localhost>
Pushed By:	cfkoch
Date:		Mon Sep 23 17:26:00 2024 -0700
Changeset:	2201edf4d77c6140337864ef4a170edc68b77846

Modified Files:
	phaethon/Makefile

Log Message:
phaethon: Use new-style CMake

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2201edf4d77c6140337864ef4a170edc68b77846

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 phaethon/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diffs:
diff --git a/phaethon/Makefile b/phaethon/Makefile
index 745d359bd9..f2905dc9b3 100644
--- a/phaethon/Makefile
+++ b/phaethon/Makefile
@@ -12,13 +12,14 @@ LICENSE=	gnu-lgpl-v2.1
 
 EXTRACT_USING=	gtar
 USE_LANGUAGES=	c c++
-USE_CMAKE=	yes
 
 AUTO_MKDIRS=	yes
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/phaethon ${DESTDIR}${PREFIX}/bin/phaethon
+	${INSTALL_PROGRAM} ${WRKSRC}/${CMAKE_BUILD_DIR}/bin/phaethon \
+		${DESTDIR}${PREFIX}/bin/phaethon
 
+.include "../../devel/cmake/build.mk"
 .include "../../archivers/xz/buildlink3.mk"
 .include "../../audio/faad2/buildlink3.mk"
 .include "../../audio/libmad/buildlink3.mk"


Home | Main Index | Thread Index | Old Index