From owner-svn-ports-head@freebsd.org Sun Apr 15 17:04:30 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 839B5FA2BB5; Sun, 15 Apr 2018 17:04:30 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 31C977B4D6; Sun, 15 Apr 2018 17:04:30 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2798811AE6; Sun, 15 Apr 2018 17:04:30 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3FH4UYm092917; Sun, 15 Apr 2018 17:04:30 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3FH4Taf092915; Sun, 15 Apr 2018 17:04:29 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201804151704.w3FH4Taf092915@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Sun, 15 Apr 2018 17:04:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467401 - head/devel/cgit X-SVN-Group: ports-head X-SVN-Commit-Author: adamw X-SVN-Commit-Paths: head/devel/cgit X-SVN-Commit-Revision: 467401 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2018 17:04:30 -0000 Author: adamw Date: Sun Apr 15 17:04:29 2018 New Revision: 467401 URL: https://svnweb.freebsd.org/changeset/ports/467401 Log: Add an option (defaulting to on) to build and install the cgitrc(5) manpage. Submitter becomes maintainer. PR: 227304 Submitted by: Marko Turk Modified: head/devel/cgit/Makefile head/devel/cgit/pkg-plist Modified: head/devel/cgit/Makefile ============================================================================== --- head/devel/cgit/Makefile Sun Apr 15 17:00:10 2018 (r467400) +++ head/devel/cgit/Makefile Sun Apr 15 17:04:29 2018 (r467401) @@ -2,14 +2,14 @@ PORTNAME= cgit PORTVERSION= 1.1 -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= devel www MASTER_SITES= http://git.zx2c4.com/cgit/snapshot/:cgit \ https://www.kernel.org/pub/software/scm/git/:git DISTFILES= cgit-${PORTVERSION}${EXTRACT_SUFX}:cgit \ git-${GIT_VERSION}${EXTRACT_SUFX}:git -MAINTAINER= adamw@FreeBSD.org +MAINTAINER= mt@markoturk.info COMMENT= Fast, lightweight web frontend for Git repositories LICENSE= GPLv2 @@ -35,8 +35,13 @@ SUB_FILES= pkg-message PORTDOCS= ${PORTNAME}rc.5.txt -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS ASCIIDOC +OPTIONS_DEFAULT= DOCS ASCIIDOC +OPTIONS_SUB= yes +ASCIIDOC_DESC= Use asciidoc to preprocess man page +ASCIIDOC_BUILD_DEPENDS= a2x:textproc/asciidoc + post-extract: @${RMDIR} ${WRKSRC}/git @${MV} ${WRKDIR}/git-${GIT_VERSION} ${WRKSRC}/git @@ -56,5 +61,9 @@ post-install: post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +post-install-ASCIIDOC-on: + a2x --doctype manpage --format manpage ${WRKSRC}/cgitrc.5.txt + ${INSTALL_MAN} ${WRKSRC}/cgitrc.5 ${STAGEDIR}${PREFIX}/man/man5 .include Modified: head/devel/cgit/pkg-plist ============================================================================== --- head/devel/cgit/pkg-plist Sun Apr 15 17:00:10 2018 (r467400) +++ head/devel/cgit/pkg-plist Sun Apr 15 17:04:29 2018 (r467401) @@ -12,6 +12,7 @@ lib/cgit/filters/owner-example.lua lib/cgit/filters/simple-authentication.lua lib/cgit/filters/syntax-highlighting.py lib/cgit/filters/syntax-highlighting.sh +%%ASCIIDOC%%man/man5/cgitrc.5.gz %%WWWDIR%%/cgit.cgi %%WWWDIR%%/cgit.css %%WWWDIR%%/cgit.png