diff options
author | ume <ume@FreeBSD.org> | 2014-10-15 19:45:45 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2014-10-15 19:45:45 +0800 |
commit | 49b9121303efdb65973fb08fd754290f02624d9e (patch) | |
tree | 2c69e0a9a67d0f3b8659fa2e90328edccfa27481 /japanese | |
parent | 8bdd85aa6497ef684491696aea2ee21e4785f3e6 (diff) | |
download | freebsd-ports-gnome-49b9121303efdb65973fb08fd754290f02624d9e.tar.gz freebsd-ports-gnome-49b9121303efdb65973fb08fd754290f02624d9e.tar.zst freebsd-ports-gnome-49b9121303efdb65973fb08fd754290f02624d9e.zip |
- Fix segmentation fault with recent Ruby-GNOME2.
- Use USES=shebangfix.
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/gedy/Makefile | 20 | ||||
-rw-r--r-- | japanese/gsuica/Makefile | 20 |
2 files changed, 16 insertions, 24 deletions
diff --git a/japanese/gedy/Makefile b/japanese/gedy/Makefile index 6189f66e95a8..15168b337778 100644 --- a/japanese/gedy/Makefile +++ b/japanese/gedy/Makefile @@ -3,7 +3,7 @@ PORTNAME= gedy PORTVERSION= 0.9.0 -#PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= japanese ruby MASTER_SITES= http://homepage3.nifty.com/slokar/pasori/ DISTNAME= ${PORTNAME} @@ -19,6 +19,9 @@ RUN_DEPENDS= rubygem-gtk2>0:${PORTSDIR}/x11-toolkits/rubygem-gtk2 \ ${RUBY_SITEARCHLIBDIR}/pasori.so:${PORTSDIR}/devel/libpafe-ruby USE_RUBY= yes +USES= shebangfix +SHEBANG_FILES= ${PORTNAME} +ruby_OLD_CMD= /usr/bin/ruby1.9.3 EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= -p @@ -28,18 +31,11 @@ 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} + @${REINPLACE_CMD} -e 's/Gdk::Atom.new(0)/Gdk::Selection::CLIPBOARD/g' \ + ${WRKSRC}/${PORTNAME} do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \ - ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/japanese/gsuica/Makefile b/japanese/gsuica/Makefile index 27a77cbd89ce..69fbae17dd71 100644 --- a/japanese/gsuica/Makefile +++ b/japanese/gsuica/Makefile @@ -3,7 +3,7 @@ PORTNAME= gsuica PORTVERSION= 0.9.1 -#PORTREVISION= 0 +PORTREVISION= 2 CATEGORIES= japanese ruby MASTER_SITES= http://homepage3.nifty.com/slokar/pasori/ DISTNAME= ${PORTNAME} @@ -19,6 +19,9 @@ RUN_DEPENDS= rubygem-gtk2>0:${PORTSDIR}/x11-toolkits/rubygem-gtk2 \ ${RUBY_SITEARCHLIBDIR}/pasori.so:${PORTSDIR}/devel/libpafe-ruby USE_RUBY= yes +USES= shebangfix +SHEBANG_FILES= ${PORTNAME} +ruby_OLD_CMD= /usr/bin/ruby1.9.3 EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= -p @@ -28,19 +31,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} + @${REINPLACE_CMD} -e 's/Gdk::Atom.new(0)/Gdk::Selection::CLIPBOARD/g' \ + ${WRKSRC}/${PORTNAME} do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \ - ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin # Fetch station code database station-code-fetch: @@ -58,4 +54,4 @@ station-code-fetch: station-code-install: @(cd ${WRKDIR}; ${SH} station_code_conv.sh StationCode.xls) -.include <bsd.port.post.mk> +.include <bsd.port.mk> |