summaryrefslogtreecommitdiff
path: root/www/oatpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/oatpp/Makefile')
-rw-r--r--www/oatpp/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/www/oatpp/Makefile b/www/oatpp/Makefile
new file mode 100644
index 000000000000..380facfd8585
--- /dev/null
+++ b/www/oatpp/Makefile
@@ -0,0 +1,41 @@
+PORTNAME= oatpp
+PORTVERSION= 1.3.1
+CATEGORIES= www
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Light and powerful C++ web framework
+WWW= https://oatpp.io/ \
+ https://github.com/oatpp/oatpp
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cmake:testing compiler:c++11-lang
+
+CMAKE_OFF= OATPP_BUILD_TESTS \
+ OATPP_COMPAT_BUILD_NO_SET_AFFINITY \
+ OATPP_COMPAT_BUILD_NO_THREAD_LOCAL \
+ OATPP_DISABLE_LOGD \
+ OATPP_DISABLE_LOGE \
+ OATPP_DISABLE_LOGI \
+ OATPP_DISABLE_LOGV \
+ OATPP_DISABLE_LOGW \
+ OATPP_DISABLE_POOL_ALLOCATIONS \
+ OATPP_LINK_ATOMIC \
+ OATPP_LINK_TEST_LIBRARY \
+ OATPP_MSVC_LINK_STATIC_RUNTIME
+CMAKE_ON= BUILD_SHARED_LIBS \
+ OATPP_DISABLE_ENV_OBJECT_COUNTERS \
+ OATPP_INSTALL
+CMAKE_TESTING_ON= \
+ OATPP_BUILD_TESTS \
+ OATPP_DISABLE_ENV_OBJECT_COUNTERS \
+ OATPP_LINK_TEST_LIBRARY
+
+PLIST_SUB= OATPP_VERSION=${OATPP_VERSION}
+
+OATPP_VERSION= 1.3.0
+
+USE_GITHUB= yes
+
+.include <bsd.port.mk>