Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2019 09:30:34 +0000 (UTC)
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r494569 - head/devel/rubygem-daemon_controller
Message-ID:  <201903040930.x249UY7G064915@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mfechner
Date: Mon Mar  4 09:30:34 2019
New Revision: 494569
URL: https://svnweb.freebsd.org/changeset/ports/494569

Log:
  Fixed shebang error by including python:env and removing debian related shebang in rules.
  
  PR:		236129
  Approved by:	osa (maintainer)

Modified:
  head/devel/rubygem-daemon_controller/Makefile

Modified: head/devel/rubygem-daemon_controller/Makefile
==============================================================================
--- head/devel/rubygem-daemon_controller/Makefile	Mon Mar  4 09:14:09 2019	(r494568)
+++ head/devel/rubygem-daemon_controller/Makefile	Mon Mar  4 09:30:34 2019	(r494569)
@@ -3,10 +3,9 @@
 
 PORTNAME=	daemon_controller
 PORTVERSION=	1.2.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
-PKGNAMEPREFIX=	rubygem-
 
 MAINTAINER=	osa@FreeBSD.org
 COMMENT=	Library for implementing daemon management capabilities
@@ -14,12 +13,14 @@ COMMENT=	Library for implementing daemon management ca
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		gem shebangfix
+USES=		gem python:env shebangfix
+USE_RUBY=	yes
 
+SHEBANG_FILES=	rpm/get_distro_id.py
+
 NO_ARCH=	yes
 
-USE_RUBY=	yes
-SHEBANG_FILES=	rpm/get_distro_id.py \
-		debian.template/rules
+post-patch:
+	@${REINPLACE_CMD} -e '1d' ${WRKSRC}/debian.template/rules
 
 .include <bsd.port.mk>



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