pkgsrc-WIP-changes archive

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

trifecta: actually install files



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sun May 19 09:35:57 2024 +0200
Changeset:	83207ef3f0add6e4e0918b442b323639e88c25fd

Modified Files:
	trifecta/Makefile
	trifecta/PLIST

Log Message:
trifecta: actually install files

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

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

diffstat:
 trifecta/Makefile | 6 ++++++
 trifecta/PLIST    | 5 ++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs:
diff --git a/trifecta/Makefile b/trifecta/Makefile
index 677de5d370..b4cdd59f08 100644
--- a/trifecta/Makefile
+++ b/trifecta/Makefile
@@ -16,9 +16,15 @@ USE_TOOLS+=		cmake pkg-config
 
 CXXFLAGS+=		-I${BUILDLINK_PREFIX.doctest}/include/doctest
 
+INSTALLATION_DIRS+=	bin share/doc/trifecta
+
 do-test:
 	cd ${WRKSRC}/output && ${SETENV} ${MAKE_ENV} ./testrunner
 
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/output/trifecta ${DESTDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/trifecta
+
 .include "../../devel/meson/build.mk"
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../textproc/fmtlib/buildlink3.mk"
diff --git a/trifecta/PLIST b/trifecta/PLIST
index 92ba51a2d7..aba6b74b17 100644
--- a/trifecta/PLIST
+++ b/trifecta/PLIST
@@ -1,4 +1,3 @@
 @comment $NetBSD$
-@comment TODO: to fill this file with the file listing:
-@comment TODO: 1. run "/usr/bin/make package"
-@comment TODO: 2. run "/usr/bin/make print-PLIST"
+bin/trifecta
+share/doc/trifecta/README.md


Home | Main Index | Thread Index | Old Index