ports/devel/shards/Makefile
2025-04-09 22:01:26 +02:00

37 lines
927 B
Makefile

PORTNAME= shards
DISTVERSIONPREFIX= v
DISTVERSION= 0.17.3
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= ports@FreeBSD.org
COMMENT= Dependency manager for the Crystal programming language
WWW= https://github.com/crystal-lang/shards
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= crystal:lang/crystal
LIB_DEPENDS= libevent.so:devel/libevent \
libgc-threaded.so:devel/boehm-gc-threaded \
libpcre2-8.so:devel/pcre2 \
libyaml.so:textproc/libyaml
RUN_DEPENDS= git:devel/git
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= crystal-lang
GH_TUPLE= crystal-lang:crystal-molinillo:v0.2.0:molinillo/lib/molinillo
MAKE_ARGS+= CRYSTAL="${LOCALBASE}/bin/crystal" \
FLAGS="--release --no-debug" \
SHARDS_CONFIG_BUILD_COMMIT="d75b004dd3d0"
PLIST_FILES= bin/shards \
share/man/man1/shards.1.gz \
share/man/man5/shard.yml.5.gz
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/shards
.include <bsd.port.mk>