Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2018 13:25:33 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488666 - in head/www: . gauche-makiki
Message-ID:  <201812291325.wBTDPXQM013915@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sat Dec 29 13:25:32 2018
New Revision: 488666
URL: https://svnweb.freebsd.org/changeset/ports/488666

Log:
  Simple multithreaded HTTP server written in Gauche.
  
  WWW: https://github.com/shirok/Gauche-makiki

Added:
  head/www/gauche-makiki/
  head/www/gauche-makiki/Makefile   (contents, props changed)
  head/www/gauche-makiki/distinfo   (contents, props changed)
  head/www/gauche-makiki/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sat Dec 29 13:24:12 2018	(r488665)
+++ head/www/Makefile	Sat Dec 29 13:25:32 2018	(r488666)
@@ -194,6 +194,7 @@
     SUBDIR += gallery2
     SUBDIR += gallery3
     SUBDIR += gatling
+    SUBDIR += gauche-makiki
     SUBDIR += gecko-mediaplayer
     SUBDIR += geckodriver
     SUBDIR += geeknote

Added: head/www/gauche-makiki/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/gauche-makiki/Makefile	Sat Dec 29 13:25:32 2018	(r488666)
@@ -0,0 +1,42 @@
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	makiki
+PORTVERSION=	0.3
+DISTVERSIONPREFIX=	release_
+CATEGORIES=	www scheme
+PKGNAMEPREFIX=	gauche-
+
+MAINTAINER=	danfe@FreeBSD.org
+COMMENT=	Simple multithreaded HTTP server written in Gauche
+
+LICENSE=	BSD
+
+BUILD_DEPENDS=	gosh:lang/gauche
+RUN_DEPENDS=	gosh:lang/gauche
+
+HAS_CONFIGURE=	yes
+USE_GITHUB=	yes
+GH_ACCOUNT=	shirok
+GH_PROJECT=	Gauche-makiki
+
+GUILE_SITELIBDIR_REL=	${:!gauche-config --sitelibdir!:S,^${PREFIX}/,,}
+
+EXAMPLESDIR=	${PREFIX}/share/examples/gauche/${PORTNAME}
+
+PLIST_FILES=	${GUILE_SITELIBDIR_REL}/.packages/Gauche-makiki.gpd \
+		${GUILE_SITELIBDIR_REL}/makiki/cgi.scm \
+		${GUILE_SITELIBDIR_REL}/makiki/connect.scm \
+		${GUILE_SITELIBDIR_REL}/makiki.scm
+PORTEXAMPLES=	*
+
+OPTIONS_DEFINE=	EXAMPLES
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,0\.2,${PORTVERSION},' ${WRKSRC}/package.scm
+
+post-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>

Added: head/www/gauche-makiki/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/gauche-makiki/distinfo	Sat Dec 29 13:25:32 2018	(r488666)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1506466829
+SHA256 (shirok-Gauche-makiki-release_0.3_GH0.tar.gz) = abd79684f3f5f8825981c9f45ff964e5e81459d2a707c45bf202133727b6654c
+SIZE (shirok-Gauche-makiki-release_0.3_GH0.tar.gz) = 35311

Added: head/www/gauche-makiki/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/gauche-makiki/pkg-descr	Sat Dec 29 13:25:32 2018	(r488666)
@@ -0,0 +1,14 @@
+Gauche-makiki is a simple multithreaded HTTP server intended for applications
+that want to provide HTTP server capability easily.  The main functionalities
+are available by just one file, `makiki.scm', so you can either install it as
+an ordinary Gauche extension library, or you can just copy the file into your
+application.
+
+You'll get the idea by looking at the minimal server:
+
+    (use makiki)
+    (define (main args) (start-http-server :port 6789))
+    (define-http-handler "/"
+      (^[req app] (respond/ok req "<h1>It worked!</h1>")))
+
+WWW: https://github.com/shirok/Gauche-makiki



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812291325.wBTDPXQM013915>