5c8173134b
diff from maintainer Volker Schlecht, thanks!
38 lines
716 B
Makefile
38 lines
716 B
Makefile
COMMENT= functional language for building scalable applications
|
|
|
|
V= 1.14.2
|
|
GH_ACCOUNT= elixir-lang
|
|
GH_PROJECT= elixir
|
|
GH_TAGNAME= v$V
|
|
DISTNAME= ${GH_PROJECT}-$V
|
|
CATEGORIES= lang
|
|
MAINTAINER= Volker Schlecht <openbsd-ports@schlecht.dev>
|
|
|
|
HOMEPAGE= https://elixir-lang.org/
|
|
|
|
# Apache2
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MODULES= lang/erlang
|
|
MODERL_VERSION= 25
|
|
|
|
ALL_TARGET= # empty
|
|
|
|
TEST_TARGET= test
|
|
PORTHOME= ${WRKDIR}
|
|
|
|
MAKE_FLAGS= PREFIX="${PREFIX}" \
|
|
MAN_PREFIX="${PREFIX}/man" \
|
|
Q=""
|
|
|
|
# Needed because otherwise the bootstrapping step complains
|
|
MAKE_ENV+= LC_ALL="en_US.UTF-8"
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/bin/elixir
|
|
|
|
pre-install:
|
|
-rm ${WRKSRC}/bin/*.{beforesubst,orig}
|
|
|
|
.include <bsd.port.mk>
|