37b580e546
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@
28 lines
829 B
Makefile
28 lines
829 B
Makefile
# $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
|
|
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"
|