pkgsrc/x11/unibar/Makefile
pin 61105dcb28 x11/unibar: import pkg
Simple Xorg display bar written for speed and ease of use.
2020-11-29 18:39:36 +00:00

24 lines
607 B
Makefile

# $NetBSD: Makefile,v 1.1 2020/11/29 18:39:36 pin Exp $
DISTNAME= unibar-0.1.3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=ikubetoomuzik/}
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/ikubetoomuzik/unibar/
COMMENT= Simple status bar in rust
LICENSE= mit
.include "cargo-depends.mk"
USE_LANGUAGES+= c # rust, but needs a toolchain to link
USE_TOOLS+= pkg-config
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/unibar ${DESTDIR}${PREFIX}/bin
.include "../../lang/rust/cargo.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"