pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/kore kore: enable additional tools target to build...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6ccdd10727b0
branches: trunk
changeset: 449885:6ccdd10727b0
user: fcambus <fcambus%pkgsrc.org@localhost>
date: Wed Apr 07 09:17:09 2021 +0000
description:
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:
www/kore/Makefile | 11 +++++++++--
www/kore/PLIST | 3 ++-
2 files changed, 11 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r a0edad9c281a -r 6ccdd10727b0 www/kore/Makefile
--- a/www/kore/Makefile Wed Apr 07 08:16:37 2021 +0000
+++ b/www/kore/Makefile Wed Apr 07 09:17:09 2021 +0000
@@ -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 @@
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 @@
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 -r a0edad9c281a -r 6ccdd10727b0 www/kore/PLIST
--- a/www/kore/PLIST Wed Apr 07 08:16:37 2021 +0000
+++ b/www/kore/PLIST Wed Apr 07 09:17:09 2021 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index