aisha <[email protected]> wrote:
> Hi,
> I've attached a port for www/workflow-0.10.2 -
> https://github.com/sogou/workflow
>
> It's a pretty nifty library, with a lot of features. Copying DESCR -
>
> > C++ parallel computing and asynchronous networking engine providing
> > a robust C++11 API along with feature rich primitives:
> >
> > - asynchronous file I/O
> > - protocol support for HTTP/S, Redis, MySQL
> > - building micro-service and RPC architectures, with load
> > balancing and service governance
>
> All tests are passing, removed mysql/redis tests from suite as they need
> running servers.
>
> Uses c++11 so I've set compile to base clang and ports gcc.
three minor nits, otherwise it looks fine to me:
- no need to PKGNAME=${DISTNAME:L}, it's already lowercase
- might add a C++11 comment before the COMPILER line
- devel/gtest needs to be listed as build depends
--- Makefile.orig Fri Jul 8 10:51:16 2022
+++ Makefile Fri Jul 8 10:56:44 2022
@@ -1,5 +1,5 @@
COMMENT = parallel computing and asynchronous networking engine
in C++
-PKGNAME = ${DISTNAME:L}
+
CATEGORIES = www
GH_ACCOUNT = sogou
@@ -17,9 +17,10 @@
WANTLIB += ${COMPILER_LIBCXX} crypto m ssl
+# C++11
COMPILER = base-clang ports-gcc
-TEST_DEPENDS = devel/gtest
+BUILD_DEPENDS = devel/gtest
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/workflow/{en,cn}