Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2018 18:17:18 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477440 - head/devel/tig
Message-ID:  <201808171817.w7HIHILg076638@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Fri Aug 17 18:17:18 2018
New Revision: 477440
URL: https://svnweb.freebsd.org/changeset/ports/477440

Log:
  devel/tig: Always install the man pages
  
  The man pages are already pre-generated so do not regenerate them
  and drop the MANPAGES option and associated dependencies.
  
  Also make sure the binary is not stripped when building WITH_DEBUG.

Modified:
  head/devel/tig/Makefile

Modified: head/devel/tig/Makefile
==============================================================================
--- head/devel/tig/Makefile	Fri Aug 17 18:06:43 2018	(r477439)
+++ head/devel/tig/Makefile	Fri Aug 17 18:17:18 2018	(r477440)
@@ -3,6 +3,7 @@
 
 PORTNAME=	tig
 PORTVERSION=	2.4.1
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/jonas/tig/releases/download/${DISTNAME}/
 
@@ -17,25 +18,22 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	${ICONV_CONFIGURE_BASE}
 MAKE_ARGS=	V=1
 
-ALL_TARGET=	all strip
-INSTALL_TARGET=	install
+INSTALL_TARGET=	install install-doc-man
 
-PLIST_FILES=	bin/tig etc/tigrc
+PLIST_FILES=	bin/tig \
+		etc/tigrc \
+		man/man1/tig.1.gz \
+		man/man5/tigrc.5.gz \
+		man/man7/tigmanual.7.gz
 
-OPTIONS_DEFINE=	GIT MANPAGES
-OPTIONS_DEFAULT=MANPAGES
+OPTIONS_DEFINE=	GIT
 
 GIT_DESC=	Install devel/git as runtime dependency
 
 GIT_RUN_DEPENDS=	git:devel/git
 GIT_VARS_OFF=	PKGMESSAGE="${.CURDIR}/pkg-message-git"
 
-MANPAGES_BUILD_DEPENDS=	asciidoc:textproc/asciidoc \
-			xmlto:textproc/xmlto
-MANPAGES_ALL_TARGET=	doc-man
-MANPAGES_INSTALL_TARGET=	install-doc-man
-MANPAGES_PLIST_FILES=	man/man1/tig.1.gz \
-			man/man5/tigrc.5.gz \
-			man/man7/tigmanual.7.gz
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tig
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808171817.w7HIHILg076638>