From 92fd3cf244ba476addae50c47a024b9f4334688c Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Sun, 23 Jun 2013 03:35:42 +0000 Subject: [PATCH] - Add converters/ruby-iconv dependency for RUBY_VER < 1.9 PR: ports/171705 Submitted by: Lung-Pin Chang (maintainer) --- www/gist/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/www/gist/Makefile b/www/gist/Makefile index 446c086f6b25..6ed9e2db5531 100644 --- a/www/gist/Makefile +++ b/www/gist/Makefile @@ -7,7 +7,7 @@ PORTNAME= gist PORTVERSION= 3.1.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www net MAINTAINER= changlp@cs.nctu.edu.tw @@ -26,8 +26,14 @@ USE_RUBY= YES NO_BUILD= YES PLIST_FILES= bin/gist +.include + +.if ${RUBY_VER} < 1.9 +RUN_DEPENDS+= ${DEPEND_RUBY_ICONV} +.endif + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/gist ${PREFIX}/bin/gist ${INSTALL_MAN} ${WRKSRC}/man/gist.1 ${MAN1PREFIX}/man/man1 -.include +.include