summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/kore/Makefile11
-rw-r--r--www/kore/PLIST3
2 files changed, 11 insertions, 3 deletions
diff --git a/www/kore/Makefile b/www/kore/Makefile
index e99a82df1e2..e716903e234 100644
--- a/www/kore/Makefile
+++ b/www/kore/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2021/01/23 15:35:43 fcambus Exp $
+# $NetBSD: Makefile,v 1.11 2021/04/07 09:17:09 fcambus Exp $
DISTNAME= kore-4.1.0
+REVISION= 1
CATEGORIES= www
MASTER_SITES= https://kore.io/releases/
@@ -9,7 +10,7 @@ HOMEPAGE= https://kore.io/
COMMENT= Web application framework for writing scalable web APIs in C
LICENSE= isc
-USE_LANGUAGES= c99
+USE_LANGUAGES= c99 c++
USE_TOOLS+= gmake
MAKE_FLAGS+= MAN_DIR="${PREFIX}/${PKGMANDIR}"
@@ -18,6 +19,12 @@ MAKE_FLAGS+= TASKS=1
pre-build:
${MKDIR} ${WRKSRC}/obj
+post-build:
+ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} tools-build
+
+post-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/kore-serve ${DESTDIR}${PREFIX}/bin
+
.include "options.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/kore/PLIST b/www/kore/PLIST
index c82908900b7..c587244ccda 100644
--- a/www/kore/PLIST
+++ b/www/kore/PLIST
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.3 2021/01/23 15:35:43 fcambus Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/04/07 09:17:09 fcambus Exp $
bin/kodev
bin/kore
+bin/kore-serve
include/kore/acme.h
include/kore/curl.h
include/kore/hooks.h