diff options
author | miwi <miwi@FreeBSD.org> | 2008-02-17 01:54:48 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-02-17 01:54:48 +0800 |
commit | 4d7a80315929e92ab065174a7c72342ba292b8bc (patch) | |
tree | 49513752a05c95ac8d164cf95f9fa4c556651e86 /japanese | |
parent | 806ef5cb9d07620f7d5015da4d2f9fca8eb609da (diff) | |
download | freebsd-ports-gnome-4d7a80315929e92ab065174a7c72342ba292b8bc.tar.gz freebsd-ports-gnome-4d7a80315929e92ab065174a7c72342ba292b8bc.tar.zst freebsd-ports-gnome-4d7a80315929e92ab065174a7c72342ba292b8bc.zip |
This plugin provides many convenient functions
for developing websites for mobile-phones.
The plugin absorbs differences between mobile-phone service providers.
WWW: http://rubyforge.org/projects/jpmobile/
PR: ports/120316
Submitted by: TAKATSU Tomonari <tota at rtfm.jp>
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/rubygem-jpmobile/Makefile | 34 | ||||
-rw-r--r-- | japanese/rubygem-jpmobile/distinfo | 3 | ||||
-rw-r--r-- | japanese/rubygem-jpmobile/pkg-descr | 5 |
4 files changed, 43 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index d79e74098a48..f2005ad41d49 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -315,6 +315,7 @@ SUBDIR += ruby-tk SUBDIR += ruby-uconv SUBDIR += ruby-usersguide + SUBDIR += rubygem-jpmobile SUBDIR += rxvt SUBDIR += ryaku-fpw SUBDIR += samba diff --git a/japanese/rubygem-jpmobile/Makefile b/japanese/rubygem-jpmobile/Makefile new file mode 100644 index 000000000000..f1c80a293137 --- /dev/null +++ b/japanese/rubygem-jpmobile/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: rubygem-jpmobile +# Date created: 2008-02-06 +# Whom: TAKATSU Tomonari <tota@rtfm.jp> +# +# $FreeBSD$ +# + +PORTNAME= jpmobile +PORTVERSION= 0.0.2 +CATEGORIES= japanese www rubygems +MASTER_SITES= ${MASTER_SITE_RUBYFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= tota@rtfm.jp +COMMENT= A Rails plugin for Japanese mobile-phones + +BUILD_DEPENDS= rubygem-actionpack>=1.12.5:${PORTSDIR}/www/rubygem-actionpack \ + rubygem-hpricot>=0.4:${PORTSDIR}/www/rubygem-hpricot +RUN_DEPENDS= rubygem-actionpack>=1.12.5:${PORTSDIR}/www/rubygem-actionpack \ + rubygem-hpricot>=0.4:${PORTSDIR}/www/rubygem-hpricot + +USE_RUBY= yes + +post-install: + @${ECHO} ${GEM_CACHE} > ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST} + @${ECHO} ${GEM_SPEC} >> ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST} + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/devel/ruby-gems/Makefile.common" +.include <bsd.port.post.mk> diff --git a/japanese/rubygem-jpmobile/distinfo b/japanese/rubygem-jpmobile/distinfo new file mode 100644 index 000000000000..b2cb4c86d868 --- /dev/null +++ b/japanese/rubygem-jpmobile/distinfo @@ -0,0 +1,3 @@ +MD5 (rubygem/jpmobile-0.0.2.gem) = 17706009a0ab32a086676b713d9c092e +SHA256 (rubygem/jpmobile-0.0.2.gem) = 760bebf8213992b818f69c66167ab8a8575228a31b5e17cc11da814cdbaa2a61 +SIZE (rubygem/jpmobile-0.0.2.gem) = 62976 diff --git a/japanese/rubygem-jpmobile/pkg-descr b/japanese/rubygem-jpmobile/pkg-descr new file mode 100644 index 000000000000..e8702f70b67a --- /dev/null +++ b/japanese/rubygem-jpmobile/pkg-descr @@ -0,0 +1,5 @@ +This plugin provides many convenient functions +for developing websites for mobile-phones. +The plugin absorbs differences between mobile-phone service providers. + +WWW: http://rubyforge.org/projects/jpmobile/ |