From owner-svn-ports-all@freebsd.org Fri Feb 19 14:36:16 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 379A0AAEDBF; Fri, 19 Feb 2016 14:36:16 +0000 (UTC) (envelope-from amdmi3@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 mx1.freebsd.org (Postfix) with ESMTPS id 0461D1112; Fri, 19 Feb 2016 14:36:15 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1JEaEVg019305; Fri, 19 Feb 2016 14:36:14 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1JEaEvA019304; Fri, 19 Feb 2016 14:36:14 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201602191436.u1JEaEvA019304@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 19 Feb 2016 14:36:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409183 - head/devel/myrepos X-SVN-Group: ports-head 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.20 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: Fri, 19 Feb 2016 14:36:16 -0000 Author: amdmi3 Date: Fri Feb 19 14:36:14 2016 New Revision: 409183 URL: https://svnweb.freebsd.org/changeset/ports/409183 Log: - Fix documentation installation - Fix LICENSE - Add NO_ARCH - Use options helpers PR: 206928 Submitted by: amdmi3 Approved by: maintainer timeout (jonathan, 2 weeks) Modified: head/devel/myrepos/Makefile Modified: head/devel/myrepos/Makefile ============================================================================== --- head/devel/myrepos/Makefile Fri Feb 19 14:29:43 2016 (r409182) +++ head/devel/myrepos/Makefile Fri Feb 19 14:36:14 2016 (r409183) @@ -2,28 +2,35 @@ PORTNAME= myrepos PORTVERSION= 1.20130710 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= jonathan@FreeBSD.org COMMENT= Tool to manage all your version control repos -LICENSE= GPLv2 +LICENSE= GPLv2+ USE_GITHUB= yes GH_ACCOUNT= joeyh -USES+= perl5 shebangfix +USES= perl5 shebangfix USE_PERL5= run SHEBANG_FILES= mr PLIST_FILES= bin/mr -PORTDOCS= README index.mdwn +PORTDOCS= * -NO_BUILD= +NO_BUILD= yes +NO_ARCH= yes + +OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/mr ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} README doc/*.mdwn ${STAGEDIR}${DOCSDIR}) + +do-install-DOCS-on: + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include