aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2010-02-22 00:03:32 +0800
committerume <ume@FreeBSD.org>2010-02-22 00:03:32 +0800
commit5dc9b17ae4eb904ca03105e4409689b5d108c36e (patch)
tree8b818a67a11538a1af6e509fc2179df872e0f17a /japanese
parentd99910b4576e15ecf3e0ddd7c9e9658442966b91 (diff)
downloadfreebsd-ports-gnome-5dc9b17ae4eb904ca03105e4409689b5d108c36e.tar.gz
freebsd-ports-gnome-5dc9b17ae4eb904ca03105e4409689b5d108c36e.tar.zst
freebsd-ports-gnome-5dc9b17ae4eb904ca03105e4409689b5d108c36e.zip
New port -- GNOME SUICA Viewer
Feature safe: yes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/gsuica/Makefile51
-rw-r--r--japanese/gsuica/distinfo3
-rw-r--r--japanese/gsuica/pkg-descr3
4 files changed, 58 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index eb258640fe29..ed8e3f4d39b8 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -96,6 +96,7 @@
SUBDIR += grep
SUBDIR += groff
SUBDIR += gskk
+ SUBDIR += gsuica
SUBDIR += gtkicq
SUBDIR += guesswork-classic
SUBDIR += gxditview
diff --git a/japanese/gsuica/Makefile b/japanese/gsuica/Makefile
new file mode 100644
index 000000000000..c500d28b4607
--- /dev/null
+++ b/japanese/gsuica/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: gsuica
+# Date created: 21 February 2010
+# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= gsuica
+PORTVERSION= 0.04
+#PORTREVISION= 0
+CATEGORIES= japanese ruby
+MASTER_SITES= http://homepage3.nifty.com/slokar/pasori/
+DISTNAME= ${PORTNAME}
+EXTRACT_SUFX= # empty
+
+MAINTAINER= ume@FreeBSD.org
+COMMENT= GNOME SUICA Viewer
+
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gnome2.so:${PORTSDIR}/x11/ruby-gnome2 \
+ ${RUBY_SITEARCHLIBDIR}/gconf2.so:${PORTSDIR}/devel/ruby-gconf2 \
+ ${RUBY_SITEARCHLIBDIR}/pasori.so:${PORTSDIR}/devel/libpafe-ruby
+
+USE_RUBY= yes
+
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS= -p
+EXTRACT_AFTER_ARGS= .
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+PLIST_FILES= bin/${PORTNAME}
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+# Fetch station code database
+station-code-fetch:
+ @(cd ${WRKDIR}; \
+ ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} \
+ -o StationCode.xls \
+ http://www.denno.net/SFCardFan/sendexcel.php; \
+ ${FETCH_AFTER_ARGS} \
+ ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} \
+ ${MASTER_SITES}station_code_conv.sh ${FETCH_AFTER_ARGS})
+
+# Install station code database into ~/.gsuica/station_code
+# BUILD_DEPENDS+= nkf:${PORTSDIR}/japanese/nkf
+# BUILD_DEPENDS+= xlhtml:${PORTSDIR}/textproc/xlhtml
+station-code-install:
+ @(cd ${WRKDIR}; ${SH} station_code_conv.sh StationCode.xls)
+
+.include <bsd.port.mk>
diff --git a/japanese/gsuica/distinfo b/japanese/gsuica/distinfo
new file mode 100644
index 000000000000..7ada306c3bd8
--- /dev/null
+++ b/japanese/gsuica/distinfo
@@ -0,0 +1,3 @@
+MD5 (gsuica) = 3f5acc76ccf7279ddadc398cc20ad0a8
+SHA256 (gsuica) = b857bce26d70c9b4cadc35a3d6c592dd4628aa245437e7ba66e7bc865bb32bba
+SIZE (gsuica) = 38711
diff --git a/japanese/gsuica/pkg-descr b/japanese/gsuica/pkg-descr
new file mode 100644
index 000000000000..67c519a02531
--- /dev/null
+++ b/japanese/gsuica/pkg-descr
@@ -0,0 +1,3 @@
+GNOME SUICA Viewer
+
+WWW: http://homepage3.nifty.com/slokar/pasori/gsuica.html