diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2012-08-12 20:10:47 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2012-08-12 20:10:47 +0000 |
commit | d0eadae7a3942cb06db27745bb53d5838576a344 (patch) | |
tree | d1f4540a398bd716f1cf3abfd7cb5556a9d9a625 /japanese | |
parent | 7de81bb81266b426144608c2326f962b98fc18f2 (diff) | |
download | ports-d0eadae7a3942cb06db27745bb53d5838576a344.tar.gz ports-d0eadae7a3942cb06db27745bb53d5838576a344.zip |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/gsuica/Makefile | 58 | ||||
-rw-r--r-- | japanese/gsuica/distinfo | 2 | ||||
-rw-r--r-- | japanese/gsuica/pkg-descr | 3 |
4 files changed, 64 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index 3b236ef6a46c..05d716c7e360 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -105,6 +105,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..f55d7e7adc4c --- /dev/null +++ b/japanese/gsuica/Makefile @@ -0,0 +1,58 @@ +# New ports collection makefile for: gsuica +# Date created: 21 February 2010 +# Whom: Hajimu UMEMOTO <ume@FreeBSD.org> +# +# $FreeBSD$ + +PORTNAME= gsuica +PORTVERSION= 0.9.1 +#PORTREVISION= 0 +CATEGORIES= japanese ruby +MASTER_SITES= http://homepage3.nifty.com/slokar/pasori/ +DISTNAME= ${PORTNAME} +EXTRACT_SUFX= # empty +DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= ume@FreeBSD.org +COMMENT= GNOME SUICA Viewer + +LICENSE= GPLv2 + +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \ + ${RUBY_SITEARCHLIBDIR}/pasori.so:${PORTSDIR}/devel/libpafe-ruby + +USE_RUBY= yes +RUBY_VER= 1.9 + +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= -p +EXTRACT_AFTER_ARGS= . +NO_WRKSUBDIR= yes +NO_BUILD= yes + +PLIST_FILES= bin/${PORTNAME} + +post-patch: + @${REINPLACE_CMD} -e 's,#! /usr/bin/ruby1.9.3,#!${RUBY},g' \ + ${WRKSRC}/${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..ee9b11f03fc2 --- /dev/null +++ b/japanese/gsuica/distinfo @@ -0,0 +1,2 @@ +SHA256 (gsuica-0.9.1/gsuica) = 15e1b80fd1214505e5c7faa96d491c19a731f7392086ab5b57e5ec39f308a7ff +SIZE (gsuica-0.9.1/gsuica) = 78492 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 |