From nobody Sun Nov 12 16:44:00 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SSz0d0xwTz50FQ1; Sun, 12 Nov 2023 16:44:01 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SSz0d0RCHz4lKm; Sun, 12 Nov 2023 16:44:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699807441; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nBc0+LWnnDn94sf8Gl2yil80jiu5hefmYRKoRtK+2aE=; b=dg2qfAeGB+eq7xFDdgWfh2PH//6s+rZRzxb8ZqqV2JVbrnQ8pJmJnABlwsOWREmcppzlag o1wF8M6vancMAtxqnKOZfKH8fHHzC0w8mJhwOE2Cp9JUPLvUGAID5Tsz6p59hnukvwXMiM Fp6FMJhYjwL38vViFLsynwHHyJqY932INmwLm3k60YMWjSTHCeqeHyyYqnJoqPFngq2fYZ txO+WNurQfQ/EWeU/eiOnPglJbhTSSoTIsWSZdYYUwO8FNPA1A2HhUG/fCp/lTIsOGsUVl OzYk+CdBmVzw1o+y6LANi+zbDbWz4cjyt6+VL+tZCsKaAj1JJb5MD1TohDsC6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699807441; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nBc0+LWnnDn94sf8Gl2yil80jiu5hefmYRKoRtK+2aE=; b=MhkCPN+j2vy10ctLPVaiI8qr6eZNHEz4kionM/cISk/I3JDDji0HPRH3LWVakPX2vzTduJ SaLKbzP+C78vEP6Zf+i3qdiPWo+KePrJ+fHziMSpEL3LvvUupJZTCdHhDsWELbUvXhvzx5 pLFIJJJDv+j0sM75XgrsLluBuL+4JjNY/xYFVQZQuoHkOInQT7pNb03pQPVhLsyNYO10T0 Imcxg9XVR2EnvmFfu2uEGt/Q1/jvWZq8mJd3hzmz0eyszBL+bumWiXhhOHIUoDuIzHsamY dRZ0LNCYWLx+jckzfp4AxWujPLgMjNGPEjFK0TN+HTaSJKXYhnqicWNGdGPHKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699807441; a=rsa-sha256; cv=none; b=Bgo4M0KwO3DWfDa+8bs6GZVSwSzqNdOLvvyDJ6l0yxIAUlSJTiHxlKFDDxbY0k6j93fbg/ rNHruO34oQXPFRuJjCbZDv9IIskrgnwZnuEJv4pl1r+e6K6Qs++qd5o0FpvASVFogQFZ3D nrf2LkTNj4vurBkNImFtaONj6kcqKm8Uh9zc2qgfdF/wRN2cATtSSJcSueYMOqXvr53Xdv 1gO27/dRO0PJVr3OLCQmtkBXsxRiZ7bzs3VCD72UQ/jxyuEVwKmTqM7h9zJ5QRONB1IQmt 8k/u2jG8SYNPCK5SuOXLlF4qF9/YKYeNVgaQpWTcfM3XLr4rdPeh6FEVhiXlcw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SSz0c6bSLzWSw; Sun, 12 Nov 2023 16:44:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ACGi0iE090801; Sun, 12 Nov 2023 16:44:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ACGi0BT090798; Sun, 12 Nov 2023 16:44:00 GMT (envelope-from git) Date: Sun, 12 Nov 2023 16:44:00 GMT Message-Id: <202311121644.3ACGi0BT090798@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Stefan =?utf-8?Q?E=C3=9Fer?= Subject: git: 534806429fa4 - main - www/manpageblog: add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 534806429fa4f0e3eb182533ae73e6ae67086b4b Auto-Submitted: auto-generated The branch main has been updated by se: URL: https://cgit.FreeBSD.org/ports/commit/?id=534806429fa4f0e3eb182533ae73e6ae67086b4b commit 534806429fa4f0e3eb182533ae73e6ae67086b4b Author: Stefan Eßer AuthorDate: 2023-11-12 16:41:40 +0000 Commit: Stefan Eßer CommitDate: 2023-11-12 16:41:40 +0000 www/manpageblog: add new port This is a simple blog generator written in Python, which generates a page layout that resembles a man-page (when using the default template). It is trivial to set-up, highly customizable, and needs very little resources. --- www/Makefile | 1 + www/manpageblog/Makefile | 34 ++++++++++++++++++++++++++++++++++ www/manpageblog/distinfo | 3 +++ www/manpageblog/pkg-descr | 15 +++++++++++++++ www/manpageblog/pkg-plist | 15 +++++++++++++++ 5 files changed, 68 insertions(+) diff --git a/www/Makefile b/www/Makefile index f63eec28662f..0992a48e4d5c 100644 --- a/www/Makefile +++ b/www/Makefile @@ -350,6 +350,7 @@ SUBDIR += lzr SUBDIR += madsonic SUBDIR += man2web + SUBDIR += manpageblog SUBDIR += mathjax SUBDIR += mathjax3 SUBDIR += mathopd diff --git a/www/manpageblog/Makefile b/www/manpageblog/Makefile new file mode 100644 index 000000000000..64047215578c --- /dev/null +++ b/www/manpageblog/Makefile @@ -0,0 +1,34 @@ +PORTNAME= manpageblog +DISTVERSION= 1.0 +CATEGORIES= www +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= se@FreeBSD.org +COMMENT= Simple and static blog generator in manpage design +WWW= https://github.com/gyptazy/manpageblog + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +USES= python shebangfix +USE_GITHUB= yes +GH_ACCOUNT= gyptazy + +SHEBANG_FILES= ${WRKSRC}/manpageblog + +NO_ARCH= yes +NO_BUILD= yes + +OPTIONS_DEFINE= EXAMPLES DOCS + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/blog.conf ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} content ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} _assets ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} _templates ${STAGEDIR}${EXAMPLESDIR} + +.include diff --git a/www/manpageblog/distinfo b/www/manpageblog/distinfo new file mode 100644 index 000000000000..8231cbf9e113 --- /dev/null +++ b/www/manpageblog/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1699804356 +SHA256 (gyptazy-manpageblog-1.0_GH0.tar.gz) = d31372b6a9ef8e6e2ceaba301e646ec2ace392fb2860233c0c325ff160c8e18b +SIZE (gyptazy-manpageblog-1.0_GH0.tar.gz) = 10956 diff --git a/www/manpageblog/pkg-descr b/www/manpageblog/pkg-descr new file mode 100644 index 000000000000..477cc3627b9a --- /dev/null +++ b/www/manpageblog/pkg-descr @@ -0,0 +1,15 @@ +manpageblog is a small, lightweight blog engine written in Python and +offers several advantages. Firstly, it provides simplicity and ease +of use, making it accessible even for users with limited technical +knowledge. The lightweight nature ensures quick installation and minimal +resource consumption, making it suitable for various hosting environments. +No database is needed at all. + +The blog engine is highly customizable, see the examples director for a +complete set of configuration and template files and some sample content.. + +After installation, you can create a "blog.conf" file based on the one +in the examples directory of this port with "base_path" adjusted to the +document root of your blog and then start a simple HTTP server using the +command "manpageblog -m http.server". The server URL can be changed in +"blog.conf", too. The default value is: "http://localhost:8000". diff --git a/www/manpageblog/pkg-plist b/www/manpageblog/pkg-plist new file mode 100644 index 000000000000..9bf176ad3d01 --- /dev/null +++ b/www/manpageblog/pkg-plist @@ -0,0 +1,15 @@ +bin/manpageblog +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/_assets/css/dark.css +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/_assets/css/light.css +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/_templates/feed.xml +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/_templates/item.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/_templates/item.xml +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/_templates/list.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/_templates/page.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/_templates/post.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/blog.conf +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/content/_index.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/content/about.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/content/blog/2023-11-11-manpageblog-release-1.0.md +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/content/contact.html