pkgsrc-WIP-changes archive

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

stagit-gopher: Import stagit-gopher-0.9.2 as wip/stagit-gopher



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sat May 4 19:01:11 2019 +0200
Changeset:	ca00d861b2f92ccb6e71597ee31eeabfcbcd8f1e

Modified Files:
	Makefile
Added Files:
	stagit-gopher/DESCR
	stagit-gopher/Makefile
	stagit-gopher/PLIST
	stagit-gopher/distinfo

Log Message:
stagit-gopher: Import stagit-gopher-0.9.2 as wip/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.

Package based on wip/stagit packaged by Frederic Cambus, thanks!

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ca00d861b2f92ccb6e71597ee31eeabfcbcd8f1e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile               |  1 +
 stagit-gopher/DESCR    | 14 ++++++++++++++
 stagit-gopher/Makefile | 28 ++++++++++++++++++++++++++++
 stagit-gopher/PLIST    |  8 ++++++++
 stagit-gopher/distinfo |  6 ++++++
 5 files changed, 57 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index f84007a498..607bf34200 100644
--- a/Makefile
+++ b/Makefile
@@ -4513,6 +4513,7 @@ SUBDIR+=	ssu
 SUBDIR+=	st-term-git
 SUBDIR+=	stackdriver-collectd
 SUBDIR+=	stagit
+SUBDIR+=	stagit-gopher
 SUBDIR+=	stardict
 SUBDIR+=	stardict-tools
 SUBDIR+=	starfighter
diff --git a/stagit-gopher/DESCR b/stagit-gopher/DESCR
new file mode 100644
index 0000000000..c9fc8a286a
--- /dev/null
+++ b/stagit-gopher/DESCR
@@ -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 --git a/stagit-gopher/Makefile b/stagit-gopher/Makefile
new file mode 100644
index 0000000000..efdc67d885
--- /dev/null
+++ b/stagit-gopher/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+DISTNAME=	stagit-gopher-0.9.2
+CATEGORIES=	net
+MASTER_SITES=	https://codemadness.org/releases/stagit-gopher/
+
+MAINTAINER=	pkgsrc-users%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
+
+# Adjust config.mk
+SUBST_CLASSES+=         makefile
+SUBST_STAGE.makefile=   pre-configure
+SUBST_MESSAGE.makefile= Fixing config.mk
+SUBST_FILES.makefile=   config.mk
+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 --git a/stagit-gopher/PLIST b/stagit-gopher/PLIST
new file mode 100644
index 0000000000..aff527cd06
--- /dev/null
+++ b/stagit-gopher/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+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 --git a/stagit-gopher/distinfo b/stagit-gopher/distinfo
new file mode 100644
index 0000000000..fcf393386c
--- /dev/null
+++ b/stagit-gopher/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+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