freebsd-ports/lang/neko/Makefile
Muhammad Moinur Rahman 40843b1ccb Mk/Uses/apache.mk: Refactor after removal of older versions
apache22 and apache25 had been removed a long time ago however the
apache.mk file has never been refactored and is out of sync from the
file Mk/bsd.default-versions.mk. These changes refactors the removals of
the older versions. In addition:

- Move some keywords like USE_APACHE, USE_APACHE_BUILD, USE_APACHE_RUN
  from SANITY_DEPRECATED to SANITY_UNSUPPORTED
- Remove apache versions from ports Makefiles as currently there is only
  one available version in the tree. However the version checks are
  still valid and should work flawlessly whenever a new version is
  added. For example USES=apache:2.2+ are simply replaced with
  USES=apache. As currently there are no other versions available for
  test this could not be checked on it's own ground.
- Update FOO_USE=APACHE=yes to FOO_USES=apache
- Remove trailing whitespaces

Approved by:    portmgr
Differential Revision: https://reviews.freebsd.org/D38113
2023-01-25 11:54:07 -06:00

42 lines
1.0 KiB
Makefile

PORTNAME= neko
DISTVERSIONPREFIX= v
DISTVERSION= 2-2-0
PORTREVISION= 12
CATEGORIES= lang
MAINTAINER= penzin.dev@gmail.com
COMMENT= Neko programming languages and virtual machine
WWW= https://nekovm.org/
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_USES= apache
APACHE_CMAKE_BOOL= WITH_APACHE
.include <bsd.port.mk>