pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/kore



Module Name:    pkgsrc
Committed By:   fcambus
Date:           Wed Apr  7 09:17:09 UTC 2021

Modified Files:
        pkgsrc/www/kore: Makefile PLIST

Log Message:
kore: enable additional tools target to build and install kore-serve.

This tool makes it easy to quickly spin up a static serving webserver.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/kore/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/kore/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/kore/Makefile
diff -u pkgsrc/www/kore/Makefile:1.10 pkgsrc/www/kore/Makefile:1.11
--- pkgsrc/www/kore/Makefile:1.10       Sat Jan 23 15:35:43 2021
+++ pkgsrc/www/kore/Makefile    Wed Apr  7 09:17:09 2021
@@ -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"

Index: pkgsrc/www/kore/PLIST
diff -u pkgsrc/www/kore/PLIST:1.3 pkgsrc/www/kore/PLIST:1.4
--- pkgsrc/www/kore/PLIST:1.3   Sat Jan 23 15:35:43 2021
+++ pkgsrc/www/kore/PLIST       Wed Apr  7 09:17:09 2021
@@ -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