diff options
author | swills <swills@FreeBSD.org> | 2013-06-23 11:35:42 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2013-06-23 11:35:42 +0800 |
commit | 6c856643bcc5106f5b8dc2fa698864f298023971 (patch) | |
tree | 128560ea43df7f9afb93c653881ccd1ab0d9c870 /www | |
parent | 361a77c0b1a03bba6d70fbf81fe2ddd38c748a98 (diff) | |
download | freebsd-ports-gnome-6c856643bcc5106f5b8dc2fa698864f298023971.tar.gz freebsd-ports-gnome-6c856643bcc5106f5b8dc2fa698864f298023971.tar.zst freebsd-ports-gnome-6c856643bcc5106f5b8dc2fa698864f298023971.zip |
- Add converters/ruby-iconv dependency for RUBY_VER < 1.9
PR: ports/171705
Submitted by: Lung-Pin Chang <changlp@cs.nctu.edu.tw> (maintainer)
Diffstat (limited to 'www')
-rw-r--r-- | www/gist/Makefile | 10 |
1 files 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 <bsd.port.pre.mk> + +.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 <bsd.port.mk> +.include <bsd.port.post.mk> |