Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2016 14:36:14 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409183 - head/devel/myrepos
Message-ID:  <201602191436.u1JEaEvA019304@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>



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