pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/stagit-gopher stagit-gopher: Import stagit-gopher-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a87392c6ab78
branches:  trunk
changeset: 335411:a87392c6ab78
user:      leot <leot%pkgsrc.org@localhost>
date:      Wed Jun 19 11:40:51 2019 +0000

description:
stagit-gopher: Import stagit-gopher-0.9.2 as net/stagit-gopher

stagit generates .gph geomyidae 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 line numbers.
- Show references: local branches and tags.
- Detect README and LICENSE file from HEAD and link it as a page.
- Detect submodules (.gitmodules file) from HEAD and link it as a page.
- Atom feed log (atom.xml).
- Make index page for multiple repositories with stagit-gopher-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 geomyidae Gopher server is required.

diffstat:

 net/stagit-gopher/DESCR    |  14 ++++++++++++++
 net/stagit-gopher/Makefile |  28 ++++++++++++++++++++++++++++
 net/stagit-gopher/PLIST    |   8 ++++++++
 net/stagit-gopher/distinfo |   6 ++++++
 4 files changed, 56 insertions(+), 0 deletions(-)

diffs (72 lines):

diff -r f862b68c8eb7 -r a87392c6ab78 net/stagit-gopher/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/stagit-gopher/DESCR   Wed Jun 19 11:40:51 2019 +0000
@@ -0,0 +1,14 @@
+stagit generates .gph geomyidae 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 line numbers.
+- Show references: local branches and tags.
+- Detect README and LICENSE file from HEAD and link it as a page.
+- Detect submodules (.gitmodules file) from HEAD and link it as a page.
+- Atom feed log (atom.xml).
+- Make index page for multiple repositories with stagit-gopher-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 geomyidae Gopher server is required.
diff -r f862b68c8eb7 -r a87392c6ab78 net/stagit-gopher/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/stagit-gopher/Makefile        Wed Jun 19 11:40:51 2019 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2019/06/19 11:40:51 leot Exp $
+
+DISTNAME=      stagit-gopher-0.9.2
+CATEGORIES=    net
+MASTER_SITES=  https://codemadness.org/releases/stagit-gopher/
+
+MAINTAINER=    leot%NetBSD.org@localhost
+HOMEPAGE=      https://codemadness.org/git/stagit-gopher/file/README.html
+COMMENT=       Static git page generator for gopher
+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 f862b68c8eb7 -r a87392c6ab78 net/stagit-gopher/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/stagit-gopher/PLIST   Wed Jun 19 11:40:51 2019 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2019/06/19 11:40:51 leot Exp $
+bin/stagit-gopher
+bin/stagit-gopher-index
+man/man1/stagit-gopher-index.1
+man/man1/stagit-gopher.1
+share/doc/stagit-gopher/README
+share/doc/stagit-gopher/example_create.sh
+share/doc/stagit-gopher/example_post-receive.sh
diff -r f862b68c8eb7 -r a87392c6ab78 net/stagit-gopher/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/stagit-gopher/distinfo        Wed Jun 19 11:40:51 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/06/19 11:40:51 leot Exp $
+
+SHA1 (stagit-gopher-0.9.2.tar.gz) = 292e5c7ba313d1c4de32c98c4b8e943408f76f53
+RMD160 (stagit-gopher-0.9.2.tar.gz) = 4ecaaeca5283735958c9624b32530386d5475b6e
+SHA512 (stagit-gopher-0.9.2.tar.gz) = 6b14cf6870124ed9b91ded7ba4d1d9e4c4956a899d90594c01d885eff52218c6ba7b57741cddd24cb2846377d4f077239e3f654b386cca967da2678625fc10e7
+Size (stagit-gopher-0.9.2.tar.gz) = 16907 bytes



Home | Main Index | Thread Index | Old Index