From owner-svn-ports-all@freebsd.org Mon Mar 30 17:02:45 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 50A512605FB; Mon, 30 Mar 2020 17:02:45 +0000 (UTC) (envelope-from olivier@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48rf0K5Vkmz4WxB; Mon, 30 Mar 2020 17:02:41 +0000 (UTC) (envelope-from olivier@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 299B01FB7F; Mon, 30 Mar 2020 17:01:47 +0000 (UTC) (envelope-from olivier@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 02UH1kPY057012; Mon, 30 Mar 2020 17:01:46 GMT (envelope-from olivier@FreeBSD.org) Received: (from olivier@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02UH1kOG056813; Mon, 30 Mar 2020 17:01:46 GMT (envelope-from olivier@FreeBSD.org) Message-Id: <202003301701.02UH1kOG056813@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: olivier set sender to olivier@FreeBSD.org using -f From: Olivier Cochard Date: Mon, 30 Mar 2020 17:01:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r529901 - head/editors/jove X-SVN-Group: ports-head X-SVN-Commit-Author: olivier X-SVN-Commit-Paths: head/editors/jove X-SVN-Commit-Revision: 529901 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2020 17:02:45 -0000 Author: olivier Date: Mon Mar 30 17:01:46 2020 New Revision: 529901 URL: https://svnweb.freebsd.org/changeset/ports/529901 Log: Move groff dependency to an option. Submitted by: glebius Sponsored by: Netflix Modified: head/editors/jove/Makefile head/editors/jove/pkg-plist Modified: head/editors/jove/Makefile ============================================================================== --- head/editors/jove/Makefile Mon Mar 30 16:04:22 2020 (r529900) +++ head/editors/jove/Makefile Mon Mar 30 17:01:46 2020 (r529901) @@ -16,12 +16,22 @@ LICENSE_NAME= JOVE License LICENSE_FILE= ${WRKSRC}/README LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -USES= groff ncurses +USES= ncurses MAKE_ARGS= LIBS="${LDFLAGS} -lncurses" WRKSRC= ${WRKDIR}/${PORTNAME} +OPTIONS_DEFINE= EXTRADOCS +EXTRADOCS_DESC= Build and install cmds.doc +EXTRADOCS_USES= groff +OPTIONS_DEFAULT= +OPTIONS_SUB= yes + post-patch: # Fix collisions with getline(3) @${REINPLACE_CMD} 's|[[:<:]]getline[[:>:]]|get_line|g' ${WRKSRC}/*.c ${WRKSRC}/*.h + +post-patch-EXTRADOCS-off: + @${REINPLACE_CMD} -E 's|^(all:.*) doc/cmds\.doc$$|\1|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} 's|^CMDS.DOC = .*|CMDS.DOC=|' ${WRKSRC}/Makefile .include Modified: head/editors/jove/pkg-plist ============================================================================== --- head/editors/jove/pkg-plist Mon Mar 30 16:04:22 2020 (r529900) +++ head/editors/jove/pkg-plist Mon Mar 30 17:01:46 2020 (r529901) @@ -5,7 +5,7 @@ libexec/jove/recover man/man1/jove.1.gz man/man1/teachjove.1.gz %%DATADIR%%/XTermresource -%%DATADIR%%/cmds.doc +%%EXTRADOCS%%%%DATADIR%%/cmds.doc %%DATADIR%%/jove.rc %%DATADIR%%/jove.rc.3022 %%DATADIR%%/jove.rc.sun