summaryrefslogtreecommitdiff
path: root/lang/neko/Makefile
blob: 7f9d0ebc7bc090ec4f04ae56444bcc17de32be2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

PORTNAME=	neko
DISTVERSIONPREFIX=	v
DISTVERSION=	2-2-0
PORTREVISION=	11
CATEGORIES=	lang

MAINTAINER=	penzin.dev@gmail.com
COMMENT=	Neko programming languages and virtual machine

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	git:devel/git
LIB_DEPENDS=	libgc-threaded.so:devel/boehm-gc-threaded \
		libapr-1.so:devel/apr1 libaprutil-1.so:devel/apr1 \
		libpcre.so:devel/pcre libpcreposix.so:devel/pcre \
		libmbedtls.so:security/mbedtls libmbedcrypto.so:security/mbedtls libmbedx509.so:security/mbedtls \
		libfontconfig.so:x11-fonts/fontconfig libfreetype.so:print/freetype2

USES=		cmake mysql pkgconfig sqlite:3
USE_GITHUB=	yes
GH_ACCOUNT=	HaxeFoundation
USE_LDCONFIG=	${PREFIX}/lib ${PREFIX}/lib/neko

MAKE_JOBS_UNSAFE=	yes

OPTIONS_DEFINE=	APACHE UI
OPTIONS_DEFAULT=	APACHE
OPTIONS_SUB=	yes
APACHE_DESC=	Build Apache modules
UI_DESC=	UI (GTK)

UI_USES=	gnome
UI_USE=		gnome=atk,cairo,gdkpixbuf2,glib20,gtk20,pango
UI_CMAKE_BOOL=	WITH_UI

APACHE_USE=	apache=22+
APACHE_CMAKE_BOOL=	WITH_APACHE

.include <bsd.port.mk>