From owner-svn-ports-all@freebsd.org Sat Dec 29 13:25:34 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A62B141EFA7; Sat, 29 Dec 2018 13:25:34 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D07D26E96D; Sat, 29 Dec 2018 13:25:33 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C2D56B724; Sat, 29 Dec 2018 13:25:33 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBTDPX2L013919; Sat, 29 Dec 2018 13:25:33 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBTDPXQM013915; Sat, 29 Dec 2018 13:25:33 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201812291325.wBTDPXQM013915@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Sat, 29 Dec 2018 13:25:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488666 - in head/www: . gauche-makiki X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/www: . gauche-makiki X-SVN-Commit-Revision: 488666 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D07D26E96D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Dec 2018 13:25:34 -0000 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 +# $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 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 "

It worked!

"))) + +WWW: https://github.com/shirok/Gauche-makiki