pkgsrc/lang/janet/Makefile
nia 968be8ffe3 janet: Update to 1.15.4
## 1.15.4 - 2021-03-16
- Increase default nesting depth of pretty printing to `JANET_RECURSION_GUARD`
- Update meson.build
- Add option to automatically add shebang line in installed scripts with `jpm`.
- Add `partition-by` and `group-by` to the core.
- Sort keys in pretty printing output.

## 1.15.3 - 2021-02-28
- Fix a fiber bug that occured in deeply nested fibers
- Add `unref` combinator to pegs.
- Small docstring changes.
2021-03-19 10:35:53 +00:00

32 lines
818 B
Makefile

# $NetBSD: Makefile,v 1.15 2021/03/19 10:35:53 nia Exp $
DISTNAME= janet-1.15.4
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GITHUB:=janet-lang/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://janet-lang.org/
COMMENT= Functional and imperative programming language
LICENSE= mit
USE_TOOLS+= gmake
USE_LANGUAGES= c99
BUILD_TARGET= all build/janet.pc
TEST_TARGET= test
MAKE_FLAGS+= PREFIX=${PREFIX}
MAKE_FLAGS+= JANET_MANPATH=${PREFIX}/${PKGMANDIR}/man1
MAKE_FLAGS+= JANET_PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
MAKE_FLAGS+= JANET_BUILD='"\"pkgsrc\""'
REPLACE_INTERPRETER+= janet
REPLACE.janet.old= .*
REPLACE.janet.new= ${PREFIX}/bin/janet
REPLACE_FILES.janet= jpm
PKGCONFIG_OVERRIDE_STAGE= pre-install
PKGCONFIG_OVERRIDE+= build/janet.pc
.include "../../mk/bsd.pkg.mk"