pkgsrc-WIP-changes archive

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

diesel: fix install



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Mon Jun 19 15:49:33 2023 +0200
Changeset:	1d475adcefc526035f0f0ca9a18f607b72845c9d

Modified Files:
	diesel/Makefile
	diesel/PLIST

Log Message:
diesel: fix install

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

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

diffstat:
 diesel/Makefile | 4 ++++
 diesel/PLIST    | 4 +---
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs:
diff --git a/diesel/Makefile b/diesel/Makefile
index 20af9cbfae..aa969a2f9e 100644
--- a/diesel/Makefile
+++ b/diesel/Makefile
@@ -16,6 +16,10 @@ USE_TOOLS+=	pkg-config
 
 RUSTFLAGS+=	-C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.sqlite3}/lib
 
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/target/release/diesel \
+		${DESTDIR}${PREFIX}/bin
+
 .include "../../lang/rust/cargo.mk"
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../mk/pgsql.buildlink3.mk"
diff --git a/diesel/PLIST b/diesel/PLIST
index 92ba51a2d7..e0592eed46 100644
--- a/diesel/PLIST
+++ b/diesel/PLIST
@@ -1,4 +1,2 @@
 @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/diesel


Home | Main Index | Thread Index | Old Index