44 lines
857 B
Makefile
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>
|