diff options
author | kwm <kwm@FreeBSD.org> | 2011-09-13 03:54:10 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2011-09-13 03:54:10 +0800 |
commit | 01014a1fdfe350150c3681e55b20eacbec801c5e (patch) | |
tree | 47e7b2a3bfcfef92d953a25d07e9476e7fb8af3b | |
parent | 1251794a908fc071ddffb2dd7e99397ef7853a62 (diff) | |
download | freebsd-ports-gnome-01014a1fdfe350150c3681e55b20eacbec801c5e.tar.gz freebsd-ports-gnome-01014a1fdfe350150c3681e55b20eacbec801c5e.tar.zst freebsd-ports-gnome-01014a1fdfe350150c3681e55b20eacbec801c5e.zip |
This port doesn't work with ruby 1.9.
PR: ports/159993
Submitted by: Kaspars Bankovskis <kaspars@bankovskis.lv>
-rw-r--r-- | multimedia/podcatcher/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/multimedia/podcatcher/Makefile b/multimedia/podcatcher/Makefile index a8ba76155319..486ccc0956b9 100644 --- a/multimedia/podcatcher/Makefile +++ b/multimedia/podcatcher/Makefile @@ -16,6 +16,8 @@ MAINTAINER= multimedia@FreeBSD.org COMMENT= Podcast client for the command line USE_RUBY= yes +RUBY_VER= 1.8 + WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes @@ -27,6 +29,9 @@ PLIST_FILES= bin/podcatcher \ 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 |