29 lines
682 B
Makefile
29 lines
682 B
Makefile
|
# $NetBSD: Makefile,v 1.1 2021/06/03 10:44:39 pin Exp $
|
||
|
|
||
|
DISTNAME= kalker-1.0.0
|
||
|
CATEGORIES= math
|
||
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=PaddiM8/}
|
||
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
||
|
|
||
|
MAINTAINER= pin@NetBSD.org
|
||
|
HOMEPAGE= https://kalker.strct.net/
|
||
|
COMMENT= CLI supporting math-like syntax with user-defined variables
|
||
|
LICENSE= mit
|
||
|
|
||
|
PREV_PKGPATH= math/kalk
|
||
|
CONFLICTS+= kalk-[0-9]*
|
||
|
SUPERSEDES+= kalk-[0-9]*
|
||
|
|
||
|
.include "cargo-depends.mk"
|
||
|
|
||
|
USE_LANGUAGES+= c c++ # rust, but needs a toolchain to link
|
||
|
USE_TOOLS+= m4
|
||
|
|
||
|
INSTALLATION_DIRS= bin
|
||
|
|
||
|
do-install:
|
||
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/kalker ${DESTDIR}${PREFIX}/bin
|
||
|
|
||
|
.include "../../lang/rust/cargo.mk"
|
||
|
.include "../../mk/bsd.pkg.mk"
|