From owner-svn-ports-all@freebsd.org Tue Mar 13 07:10:24 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 9E80CBF5892; Tue, 13 Mar 2018 07:10:24 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4EF256CC32; Tue, 13 Mar 2018 07:10:24 +0000 (UTC) (envelope-from tobik@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 49E4816C89; Tue, 13 Mar 2018 07:10:24 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2D7AOPA023629; Tue, 13 Mar 2018 07:10:24 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2D7ANAt023624; Tue, 13 Mar 2018 07:10:23 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201803130710.w2D7ANAt023624@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Tue, 13 Mar 2018 07:10:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464345 - in head/www: . quark quark/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/www: . quark quark/files X-SVN-Commit-Revision: 464345 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 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: Tue, 13 Mar 2018 07:10:24 -0000 Author: tobik Date: Tue Mar 13 07:10:23 2018 New Revision: 464345 URL: https://svnweb.freebsd.org/changeset/ports/464345 Log: New port: www/quark Extremely small and simple HTTP GET/HEAD-only web server for static content. WWW: https://tools.suckless.org/quark/ PR: 226226 Submitted by: 0mp Added: head/www/quark/ head/www/quark/Makefile (contents, props changed) head/www/quark/distinfo (contents, props changed) head/www/quark/files/ head/www/quark/files/patch-config.mk (contents, props changed) head/www/quark/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Tue Mar 13 06:51:56 2018 (r464344) +++ head/www/Makefile Tue Mar 13 07:10:23 2018 (r464345) @@ -1906,6 +1906,7 @@ SUBDIR += qt5-webkit SUBDIR += qt5-websockets SUBDIR += qt5-websockets-qml + SUBDIR += quark SUBDIR += qupzilla-qt4 SUBDIR += qupzilla-qt5 SUBDIR += qutebrowser Added: head/www/quark/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/quark/Makefile Tue Mar 13 07:10:23 2018 (r464345) @@ -0,0 +1,38 @@ +# $FreeBSD$ + +PORTNAME= quark +DISTVERSION= g20180305 +CATEGORIES= www +MASTER_SITES= https://git.suckless.org/quark/snapshot/ +DISTNAME= quark-6770dc06e69f422124d1e9c0efdefa7cc4e98b61 + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Small and simple HTTP GET/HEAD-only web server for static content + +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE + +PLIST_FILES= bin/quark \ + man/man1/quark.1.gz + +.include + +# _WITH_DPRINTF support was removed precisely in r303524. +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200002 +CFLAGS+= -D_WITH_DPRINTF +.endif + +pre-everything:: + @${ECHO_MSG} "You can build quark with your own config.h using the QUARK_CONF knob:" + @${ECHO_MSG} "make QUARK_CONF=/path/to/quark/config.h install clean" + +post-patch: +.if defined(QUARK_CONF) + @${ECHO_MSG} "Creating config.h from ${QUARK_CONF}" + @${LN} -sf ${QUARK_CONF} ${WRKSRC}/config.h +.endif + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/quark + +.include Added: head/www/quark/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/quark/distinfo Tue Mar 13 07:10:23 2018 (r464345) @@ -0,0 +1,3 @@ +TIMESTAMP = 1520251942 +SHA256 (quark-6770dc06e69f422124d1e9c0efdefa7cc4e98b61.tar.gz) = 0d080a47c0758a5baa620b228359a22426b9d4f2db439a4146c601e6727a71b3 +SIZE (quark-6770dc06e69f422124d1e9c0efdefa7cc4e98b61.tar.gz) = 12985 Added: head/www/quark/files/patch-config.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/quark/files/patch-config.mk Tue Mar 13 07:10:23 2018 (r464345) @@ -0,0 +1,19 @@ +--- config.mk.orig 2018-03-05 09:24:46 UTC ++++ config.mk +@@ -5,12 +5,11 @@ VERSION = 0 + + # paths + PREFIX = /usr/local +-MANPREFIX = $(PREFIX)/share/man ++MANPREFIX = $(PREFIX)/man + + # flags +-CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE +-CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os +-LDFLAGS = -s ++CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ++CFLAGS += -std=c99 -pedantic -Wall -Wextra + + # compiler and linker +-CC = cc ++CC ?= cc Added: head/www/quark/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/quark/pkg-descr Tue Mar 13 07:10:23 2018 (r464345) @@ -0,0 +1,3 @@ +Extremely small and simple HTTP GET/HEAD-only web server for static content. + +WWW: https://tools.suckless.org/quark/