Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 2019 16:21:26 +0000 (UTC)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510706 - head/devel/rubygem-io-like
Message-ID:  <201909011621.x81GLQd1002267@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tota
Date: Sun Sep  1 16:21:26 2019
New Revision: 510706
URL: https://svnweb.freebsd.org/changeset/ports/510706

Log:
  - Make use of options helpers to fix build error without DOCS [1]
  - Make portlint happier
  
  PR:		240208 [1]
  Submitted by:	Marko Cupać <marko_DOT_cupac_AT_mimar_DOT_rs> [1]

Modified:
  head/devel/rubygem-io-like/Makefile   (contents, props changed)

Modified: head/devel/rubygem-io-like/Makefile
==============================================================================
--- head/devel/rubygem-io-like/Makefile	Sun Sep  1 16:15:03 2019	(r510705)
+++ head/devel/rubygem-io-like/Makefile	Sun Sep  1 16:21:26 2019	(r510706)
@@ -8,7 +8,7 @@ MASTER_SITES=	LOCAL/tota/${PORTNAME}
 PKGNAMEPREFIX=	rubygem-
 
 MAINTAINER=	tota@FreeBSD.org
-COMMENT=	The interface of IO objects to classes providing a few simple methods
+COMMENT=	Interface of IO objects to classes providing a few simple methods
 
 LICENSE=	RUBY
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -18,6 +18,7 @@ BUILD_DEPENDS=	${RUBYGEMBIN}:devel/ruby-gems \
 RUN_DEPENDS=	${RUBYGEMBIN}:devel/ruby-gems
 
 USE_RUBY=	yes
+
 NO_ARCH=	yes
 
 GEMS_BASE_DIR=	lib/ruby/gems/${RUBY_VER}
@@ -58,15 +59,8 @@ WRKSRC=	${WRKDIR}/${PORTNAME}-ruby-1.9-temp
 OPTIONS_DEFINE=	DOCS
 
 DOCS_BUILD_DEPENDS=	rubygem-allison>=0:devel/rubygem-allison
-DOCS_VARS_OFF=		RUBYGEM_ARGS+=--no-rdoc
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-RUBYGEM_ARGS+=	--document rdoc,ri
-.else
-RUBYGEM_ARGS+=	--no-document
-.endif
+DOCS_VARS=		RUBYGEM_ARGS+=--document rdoc,ri
+DOCS_VARS_OFF=		RUBYGEM_ARGS+=--no-document
 
 post-patch:
 .for l in 1.8.6 1.8.7 1.9.2 1.9.3



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