pkgsrc-WIP-changes archive

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

bookokrat: add missing tool dependencies, simplify



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Apr 22 08:59:15 2026 +0200
Changeset:	40de68140d4b08c518f9a403b627effe40014a7c

Modified Files:
	bookokrat/Makefile

Log Message:
bookokrat: add missing tool dependencies, simplify

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

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

diffstat:
 bookokrat/Makefile | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diffs:
diff --git a/bookokrat/Makefile b/bookokrat/Makefile
index bc62805955..97e41bdfec 100644
--- a/bookokrat/Makefile
+++ b/bookokrat/Makefile
@@ -8,21 +8,17 @@ GITHUB_TAG=	v${PKGVERSION_NOREV}
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/bugzmanov/bookokrat
 COMMENT=	Terminal based epub reader
-#LICENSE=	agpl-3.0
+LICENSE=	gnu-agpl-v3
 
 RUST_REQ=	1.86
-USE_TOOLS+=	pkg-config
+USE_TOOLS+=	gmake pkg-config
 USE_LANGUAGES+=	c c++
 
-.include "cargo-depends.mk"
-
-INSTALLATION_DIRS=	bin
 RUSTFLAGS+=		-C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.fontconfig}/${BUILDLINK_LIBDIRS.fontconfig}
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/target/release/bookokrat \
-		${DESTDIR}${PREFIX}/bin
-
+.include "cargo-depends.mk"
 .include "../../lang/rust/cargo.mk"
+BUILDLINK_DEPMETHOD.clang=	build
+.include "../../lang/clang/buildlink3.mk"
 .include "../../fonts/fontconfig/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index