aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
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
parentda5f134a1ac0add5352cfa66d60fb6bd13531db2 (diff)
downloadfreebsd-ports-gnome-6b824f2f348c710b27f3c15d8dc8c6e03a7b92d0.tar.gz
freebsd-ports-gnome-6b824f2f348c710b27f3c15d8dc8c6e03a7b92d0.tar.zst
freebsd-ports-gnome-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')
-rw-r--r--japanese/gedy/Makefile8
-rw-r--r--japanese/gsuica/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/japanese/gedy/Makefile b/japanese/gedy/Makefile
index 965031e15193..2613957f4dd3 100644
--- a/japanese/gedy/Makefile
+++ b/japanese/gedy/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}
@@ -39,4 +45,4 @@ post-patch:
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/gsuica/Makefile b/japanese/gsuica/Makefile
index f55d7e7adc4c..8454202c25a6 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>