bcallah e8e83bc560 Update to ponyc-0.25.0 -- this is the first official release to support
OpenBSD. Add a SUBST_VARS+=GH_TAGNAME to reduce PLIST churn going forward.
2018-10-16 14:58:36 +00:00

44 lines
857 B
Makefile

# $OpenBSD: Makefile,v 1.2 2018/10/16 14:58:36 bcallah Exp $
ONLY_FOR_ARCHS = ${LLVM_ARCHS}
COMMENT = actor-model, capabilities-secure, high performance language
DISTNAME = ${GH_PROJECT}-0.25.0
CATEGORIES = lang
GH_ACCOUNT = ponylang
GH_PROJECT = ponyc
GH_TAGNAME = 0.25.0
HOMEPAGE = https://www.ponylang.org/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
# Also links -lLLVM-6.0
WANTLIB += ${COMPILER_LIBCXX} c curses execinfo m z
# C11, clang only
COMPILER = base-clang ports-clang
BUILD_DEPENDS = ${RUN_DEPENDS} \
devel/pcre2
LIB_DEPENDS = devel/libexecinfo
RUN_DEPENDS = devel/llvm>=6.0,<6.1
USE_GMAKE = Yes
MAKE_ENV = verbose=true default_pic=true
.if ${MACHINE_ARCH:Marm} || ${MACHINE_ARCH:Mi386}
MAKE_ENV += bits=32
.else
MAKE_ENV += bits=64
.endif
SUBST_VARS += GH_TAGNAME
.include <bsd.port.mk>