pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/stagit www/stagit: import stagit-0.9.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e353c955069
branches:  trunk
changeset: 397237:5e353c955069
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Wed Jun 19 10:04:58 2019 +0000

description:
www/stagit: import stagit-0.9.2.

stagit generates HTML pages for a Git repository, and supports the following
features:

- Log of all commits from HEAD.
- Log and diffstat per commit.
- Show file tree with linkable line numbers.
- Show references: local branches and tags.
- Detect README and LICENSE file from HEAD and link it as a webpage.
- Detect submodules (.gitmodules file) from HEAD and link it as a webpage.
- Atom feed log (atom.xml).
- Make index page for multiple repositories with stagit-index.
- After generating the pages (relatively slow) serving the files is very fast,
  simple and requires little resources (because the content is static), only
  a HTTP file server is required.
- Usable with text-browsers such as dillo, links, lynx and w3m.

OK kamil@, leot@

diffstat:

 www/stagit/DESCR    |  15 +++++++++++++++
 www/stagit/Makefile |  28 ++++++++++++++++++++++++++++
 www/stagit/PLIST    |  11 +++++++++++
 www/stagit/distinfo |   6 ++++++
 4 files changed, 60 insertions(+), 0 deletions(-)

diffs (76 lines):

diff -r a95bbaef7bf0 -r 5e353c955069 www/stagit/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/stagit/DESCR  Wed Jun 19 10:04:58 2019 +0000
@@ -0,0 +1,15 @@
+stagit generates HTML pages for a Git repository, and supports the following
+features:
+
+- Log of all commits from HEAD.
+- Log and diffstat per commit.
+- Show file tree with linkable line numbers.
+- Show references: local branches and tags.
+- Detect README and LICENSE file from HEAD and link it as a webpage.
+- Detect submodules (.gitmodules file) from HEAD and link it as a webpage.
+- Atom feed log (atom.xml).
+- Make index page for multiple repositories with stagit-index.
+- After generating the pages (relatively slow) serving the files is very fast,
+  simple and requires little resources (because the content is static), only
+  a HTTP file server is required.
+- Usable with text-browsers such as dillo, links, lynx and w3m.
diff -r a95bbaef7bf0 -r 5e353c955069 www/stagit/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/stagit/Makefile       Wed Jun 19 10:04:58 2019 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2019/06/19 10:04:58 fcambus Exp $
+
+DISTNAME=      stagit-0.9.2
+CATEGORIES=    www
+MASTER_SITES=  https://codemadness.org/releases/stagit/
+
+MAINTAINER=    fcambus%NetBSD.org@localhost
+HOMEPAGE=      https://codemadness.org/git/stagit/file/README.html
+COMMENT=       Static git page generator
+LICENSE=       mit
+
+USE_LANGUAGES= c99
+
+SUBST_CLASSES+=                makefile
+SUBST_STAGE.makefile=  pre-configure
+SUBST_MESSAGE.makefile=        Adjust config.mk
+SUBST_FILES.makefile=  config.mk
+SUBST_SED.makefile+=   -e '/^CFLAGS/ s,-O2,,'
+SUBST_SED.makefile+=   -e 's,^CFLAGS *= ,CFLAGS += ,'
+SUBST_SED.makefile+=   -e 's,^LDFLAGS *= ,LDFLAGS += ,'
+
+MAKE_FLAGS+=   PREFIX=${PREFIX}
+MAKE_FLAGS+=   MANPREFIX=${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+=   GITINC=${PREFIX}/include
+MAKE_FLAGS+=   GITLIB=${PREFIX}/lib
+
+.include "../../devel/libgit2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a95bbaef7bf0 -r 5e353c955069 www/stagit/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/stagit/PLIST  Wed Jun 19 10:04:58 2019 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2019/06/19 10:04:58 fcambus Exp $
+bin/stagit
+bin/stagit-index
+man/man1/stagit-index.1
+man/man1/stagit.1
+share/doc/stagit/README
+share/doc/stagit/example_create.sh
+share/doc/stagit/example_post-receive.sh
+share/doc/stagit/favicon.png
+share/doc/stagit/logo.png
+share/doc/stagit/style.css
diff -r a95bbaef7bf0 -r 5e353c955069 www/stagit/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/stagit/distinfo       Wed Jun 19 10:04:58 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/06/19 10:04:58 fcambus Exp $
+
+SHA1 (stagit-0.9.2.tar.gz) = 288674c4b8f15473ca2e769105d8c1c06fce5387
+RMD160 (stagit-0.9.2.tar.gz) = 2cbc32171fec7ce30fdf0fbb9da42588cc6716b6
+SHA512 (stagit-0.9.2.tar.gz) = 30a1c43672c94bcf85af25e2c2d0137a1014c625361dc53f78f8a31b194d9a678372d0cc98e6fa8ea3ddd1d632bdbc8ecb37f40e0bac44fa05dfdf981417fe2c
+Size (stagit-0.9.2.tar.gz) = 18525 bytes



Home | Main Index | Thread Index | Old Index