aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/gsuica
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2012-09-15 23:32:30 +0800
committerume <ume@FreeBSD.org>2012-09-15 23:32:30 +0800
commit6b824f2f348c710b27f3c15d8dc8c6e03a7b92d0 (patch)
tree0a68549745026cad28a874c21f5984d32f001fd2 /japanese/gsuica
parentda5f134a1ac0add5352cfa66d60fb6bd13531db2 (diff)
downloadfreebsd-ports-graphics-6b824f2f348c710b27f3c15d8dc8c6e03a7b92d0.tar.gz
freebsd-ports-graphics-6b824f2f348c710b27f3c15d8dc8c6e03a7b92d0.tar.zst
freebsd-ports-graphics-6b824f2f348c710b27f3c15d8dc8c6e03a7b92d0.zip
It requires some additional ruby libs build for ruby19.
So, mark IGNORE when RUBY_DEFAULT_VER is not 1.9. Spotted by: pointyhat via beat
Diffstat (limited to 'japanese/gsuica')
-rw-r--r--japanese/gsuica/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/japanese/gsuica/Makefile b/japanese/gsuica/Makefile
index f55d7e7adc4..8454202c25a 100644
--- a/japanese/gsuica/Makefile
+++ b/japanese/gsuica/Makefile
@@ -32,6 +32,12 @@ NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME}
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_DEFAULT_VER} != ${RUBY_VER}
+IGNORE= requires RUBY_DEFAULT_VER=${RUBY_VER}
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,#! /usr/bin/ruby1.9.3,#!${RUBY},g' \
${WRKSRC}/${PORTNAME}
@@ -55,4 +61,4 @@ station-code-fetch:
station-code-install:
@(cd ${WRKDIR}; ${SH} station_code_conv.sh StationCode.xls)
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>