pkgsrc-WIP-changes archive

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

xmoji: fix installation



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Aug 7 19:00:54 2024 +0200
Changeset:	504ade94f8974bc39635597f6db97b5282c73fa1

Modified Files:
	xmoji/Makefile
	xmoji/PLIST
	xmoji/TODO

Log Message:
xmoji: fix installation

Starts but exits immediately.

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

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

diffstat:
 xmoji/Makefile | 4 ++++
 xmoji/PLIST    | 4 +---
 xmoji/TODO     | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

diffs:
diff --git a/xmoji/Makefile b/xmoji/Makefile
index ac1ed1c9da..8576b8d3bf 100644
--- a/xmoji/Makefile
+++ b/xmoji/Makefile
@@ -18,6 +18,10 @@ USE_TOOLS+=	gmake pkg-config
 
 USE_CC_FEATURES+=	c11
 LDFLAGS+=		-L${WRKSRC}/lib/x86_64--netbsd/release
+INSTALLATION_DIRS=	bin
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/*/release/xmoji ${DESTDIR}${PREFIX}/bin
 
 .include "../../fonts/fontconfig/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
diff --git a/xmoji/PLIST b/xmoji/PLIST
index 92ba51a2d7..4fd901952b 100644
--- a/xmoji/PLIST
+++ b/xmoji/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/xmoji
diff --git a/xmoji/TODO b/xmoji/TODO
index de18edc26d..1b7aaa75c5 100644
--- a/xmoji/TODO
+++ b/xmoji/TODO
@@ -1 +1 @@
-Installation fails.
+Just exits after startup.


Home | Main Index | Thread Index | Old Index