Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2018 15:24:24 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486417 - in head/www/rubygem-gitlab-grack: . files
Message-ID:  <201812021524.wB2FOODf071677@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Dec  2 15:24:23 2018
New Revision: 486417
URL: https://svnweb.freebsd.org/changeset/ports/486417

Log:
  Use REINPLACE_CMD instead of patch file
  
  It helps to simplify devel/ruby-gems update.

Deleted:
  head/www/rubygem-gitlab-grack/files/
Modified:
  head/www/rubygem-gitlab-grack/Makefile

Modified: head/www/rubygem-gitlab-grack/Makefile
==============================================================================
--- head/www/rubygem-gitlab-grack/Makefile	Sun Dec  2 15:24:15 2018	(r486416)
+++ head/www/rubygem-gitlab-grack/Makefile	Sun Dec  2 15:24:23 2018	(r486417)
@@ -13,8 +13,12 @@ LICENSE=	MIT
 
 RUN_DEPENDS=	rubygem-rack15>=1.5.1:www/rubygem-rack15
 
-NO_ARCH=	yes
-USE_RUBY=	yes
 USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e '/s.executables = \["console".freeze, "testserver".freeze\]/d; s|"bin/console".freeze, "bin/testserver".freeze, ||' ${WRKSRC}/${GEMSPEC}
 
 .include <bsd.port.mk>



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