Skip to content

Commit

Permalink
textproc/bat: Switch to libgit2-sys crate
Browse files Browse the repository at this point in the history
  • Loading branch information
0323pin committed May 6, 2024
1 parent e9d8df1 commit eb44eea
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions textproc/bat/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.35 2023/10/24 22:11:17 wiz Exp $
# $NetBSD: Makefile,v 1.36 2024/05/06 05:44:44 pin Exp $

DISTNAME= bat-0.24.0
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=sharkdp/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Expand All @@ -13,8 +13,6 @@ HOMEPAGE= https://github.com/sharkdp/bat/
COMMENT= Clone of cat with syntax highlighting
LICENSE= apache-2.0

RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libgit2}/lib

.include "cargo-depends.mk"

USE_TOOLS+= pkg-config
Expand All @@ -27,8 +25,5 @@ post-install:
-type f \
-exec ${INSTALL_MAN} '{}' ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 \;

# for libgit2-sys crate
.include "../../devel/libgit2/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"

0 comments on commit eb44eea

Please sign in to comment.