Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2018 07:35:18 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464047 - head/lang/neko
Message-ID:  <201803100735.w2A7ZISk034952@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Mar 10 07:35:18 2018
New Revision: 464047
URL: https://svnweb.freebsd.org/changeset/ports/464047

Log:
  lang/neko: Update to 2.2.0
  
  Port changes:
  * Changed to DISTVERSION
  * Added LICENSE_FILE
  * Simplified BUILD_DEPENDS
  * Added to LIB_DEPENDS
  * USES=cmake:outsource
  * Added USES=mysql
  * Added the options APACHE UI
  
  PR:		226183
  Submitted by:	Marcin Cieślak <saper@saper.info> (original version)
  Submitted by:	Petr Penzin <penzin.dev@gmail.com> (maintainer, accepted version)
  Approved by:	tcberner (mentor, implicit)

Modified:
  head/lang/neko/Makefile
  head/lang/neko/distinfo
  head/lang/neko/pkg-plist

Modified: head/lang/neko/Makefile
==============================================================================
--- head/lang/neko/Makefile	Sat Mar 10 07:09:29 2018	(r464046)
+++ head/lang/neko/Makefile	Sat Mar 10 07:35:18 2018	(r464047)
@@ -1,34 +1,40 @@
 # $FreeBSD$
 
 PORTNAME=	neko
-PORTVERSION=	2.1.0
-PORTREVISION=	1
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2-2-0
 CATEGORIES=	lang
 
 MAINTAINER=	penzin.dev@gmail.com
 COMMENT=	Neko programming languages and virtual machine
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${LOCALBASE}/bin/git:devel/git
+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 \
-		libmysqlclient.so:databases/mysql56-client
+		libfontconfig.so:x11-fonts/fontconfig libfreetype.so:print/freetype2
 
-USES=		cmake pkgconfig sqlite:3
-
-USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk20 pango
+USES=		cmake:outsource mysql pkgconfig sqlite:3
 USE_GITHUB=	yes
 GH_ACCOUNT=	HaxeFoundation
-# GH_PROJECT is the same as port name
-GH_TAGNAME=	f8d55f1
-
 USE_LDCONFIG=	${PREFIX}/lib ${PREFIX}/lib/neko
-USE_APACHE_BUILD=	yes
 
-MAKE_JOBS_UNSAFE=yes
+MAKE_JOBS_UNSAFE=	yes
+
+OPTIONS_DEFINE=	APACHE UI
+OPTIONS_DEFAULT=	APACHE
+OPTIONS_SUB=	yes
+APACHE_DESC=	Build Apache modules
+UI_DESC=	UI (GTK)
+
+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>

Modified: head/lang/neko/distinfo
==============================================================================
--- head/lang/neko/distinfo	Sat Mar 10 07:09:29 2018	(r464046)
+++ head/lang/neko/distinfo	Sat Mar 10 07:35:18 2018	(r464047)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1479575506
-SHA256 (HaxeFoundation-neko-2.1.0-f8d55f1_GH0.tar.gz) = bf4d115882c75ba138a3e7037896314243008d4a17620c77cb5666c58b7d7a3d
-SIZE (HaxeFoundation-neko-2.1.0-f8d55f1_GH0.tar.gz) = 508189
+TIMESTAMP = 1520610317
+SHA256 (HaxeFoundation-neko-v2-2-0_GH0.tar.gz) = cf101ca05db6cb673504efe217d8ed7ab5638f30e12c5e3095f06fa0d43f64e3
+SIZE (HaxeFoundation-neko-v2-2-0_GH0.tar.gz) = 510643

Modified: head/lang/neko/pkg-plist
==============================================================================
--- head/lang/neko/pkg-plist	Sat Mar 10 07:09:29 2018	(r464046)
+++ head/lang/neko/pkg-plist	Sat Mar 10 07:35:18 2018	(r464047)
@@ -6,11 +6,15 @@ include/neko.h
 include/neko_elf.h
 include/neko_mod.h
 include/neko_vm.h
+lib/cmake/Neko/NekoConfig.cmake
+lib/cmake/Neko/NekoConfigVersion.cmake
+lib/cmake/Neko/NekoTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/Neko/NekoTargets.cmake
 lib/libneko.so
 lib/libneko.so.2
-lib/libneko.so.2.1.0
-lib/neko/mod_neko2.ndll
-lib/neko/mod_tora2.ndll
+lib/libneko.so.2.2.0
+%%APACHE%%lib/neko/mod_neko2.ndll
+%%APACHE%%lib/neko/mod_tora2.ndll
 lib/neko/mysql.ndll
 lib/neko/mysql5.ndll
 lib/neko/nekoml.std
@@ -19,4 +23,4 @@ lib/neko/sqlite.ndll
 lib/neko/ssl.ndll
 lib/neko/std.ndll
 lib/neko/zlib.ndll
-lib/neko/ui.ndll
+%%UI%%lib/neko/ui.ndll



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803100735.w2A7ZISk034952>