summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorfcambus <fcambus@pkgsrc.org>2021-04-07 09:17:09 +0000
committerfcambus <fcambus@pkgsrc.org>2021-04-07 09:17:09 +0000
commitf880d8b540381de8f095de9411a73eeb446ce940 (patch)
tree2146160dfb3723f28e374760158ab5a1155fd0d7 /www
parent84c4639aaf5092ccde80aa6c039f75d27cdfb2c3 (diff)
downloadpkgsrc-f880d8b540381de8f095de9411a73eeb446ce940.tar.gz
kore: enable additional tools target to build and install kore-serve.
This tool makes it easy to quickly spin up a static serving webserver.
Diffstat (limited to 'www')
-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