blob: 6c7fc9368a48ecbf25f946d801e9376b2b1a8e5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.6 2021/08/10 05:36:51 pin Exp $
DISTNAME= rterm-0.0.6
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=mechpen/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/mechpen/rterm/
COMMENT= Port of suckless terminal to rust
LICENSE= unlicense
.include "cargo-depends.mk"
USE_TOOLS+= pkg-config
INSTALLATION_DIRS= bin
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib
RUSTFLAGS+= -C link-arg=-L${BUILDLINK_PREFIX.libX11}/lib
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libXft}/lib
RUSTFLAGS+= -C link-arg=-L${BUILDLINK_PREFIX.libXft}/lib
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/rterm ${DESTDIR}${PREFIX}/bin
.include "../../lang/rust/cargo.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|