pkgsrc/sysutils/ripdrag/Makefile
pin 94714b1f46 sysutils/ripdrag: import pkg
ripdrag is an application that lets you drag and drop files from and to the
terminal.

It's designed to be feature to feature compatible with dragon, while being
written in modern Rust and GTK4.
Although, some features like --on-top can't be ported over because of
limitations in gtk4.
2022-09-17 16:01:39 +00:00

33 lines
988 B
Makefile

# $NetBSD: Makefile,v 1.1 2022/09/17 16:01:39 pin Exp $
DISTNAME= ripdrag-0.2.0
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=nik012003/}
GITHUB_TAG= 25ff6e69b8e84bb10ccd312b324c0038e9631003
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/nik012003/ripdrag/
COMMENT= Drag and Drop utilty written in Rust and GTK4
LICENSE= gnu-gpl-v3
.include "cargo-depends.mk"
USE_TOOLS+= pkg-config
INSTALLATION_DIRS= bin
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gtk4}/lib
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/ripdrag \
${DESTDIR}${PREFIX}/bin
.include "../../lang/rust/cargo.mk"
.include "../../x11/gtk4/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/cairo-gobject/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../devel/atk/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"