pkgsrc/misc/nora/Makefile
pin 9c25b1cb6b misc/nora: import package
Freezes the screen then runs a program and unfreezes the screen again.
The main goal is to change how screenshot tools behave when the screen updates.
2021-10-11 10:39:20 +00:00

27 lines
719 B
Makefile

# $NetBSD: Makefile,v 1.1 2021/10/11 10:39:20 pin Exp $
DISTNAME= nora-0.2.0
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GITHUB:=jokler/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/jokler/nora/
COMMENT= Freezes the screen for other programs
LICENSE= gnu-gpl-v3
.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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/nora ${DESTDIR}${PREFIX}/bin
.include "../../lang/rust/cargo.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"