Date: Mon, 22 Aug 2011 10:20:02 GMT From: Kaspars Bankovskis <kaspars@bankovskis.lv> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/159993: [patch] multimedia/podcatcher: broken with ruby19 Message-ID: <201108221020.p7MAK2R3032091@red.freebsd.org> Resent-Message-ID: <201108221020.p7MAKBlM049393@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159993 >Category: ports >Synopsis: [patch] multimedia/podcatcher: broken with ruby19 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 22 10:20:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Kaspars Bankovskis >Release: >Organization: >Environment: >Description: multimedia/podcatcher works with lang/ruby18 only. As the project itself hasn't released any updates for last two years, I think it's better to make it dependent on lang/ruby18 for now. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/multimedia/podcatcher/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 17 Apr 2010 20:32:04 -0000 1.6 +++ Makefile 22 Aug 2011 10:11:08 -0000 @@ -8,6 +8,7 @@ PORTNAME= podcatcher PORTVERSION= 3.1.5 +PORTREVISION= 1 CATEGORIES= multimedia ruby MASTER_SITES= ${MASTER_SITE_RUBYFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,6 +17,8 @@ COMMENT= Podcast client for the command line USE_RUBY= yes +RUBY_VER= 1.8 + WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes @@ -27,6 +30,9 @@ PLIST_DIRS= ${EXAMPLESDIR_REL} +pre-install: + @${SED} -i.bak 's,#!/usr/bin/env ruby,#!${RUBY},' ${WRKSRC}/bin/${PORTNAME} + do-install: @${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108221020.p7MAK2R3032091>