summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2010-09-19 22:17:07 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2010-09-19 22:17:07 +0000
commit14655aadea5b28fb4007d80fbef5cb9412049fef (patch)
tree09e5a3731d0aef7acdc1df94c8f8a372fb961468 /japanese
parentUpdate to 10.62. (diff)
- Bump PORTREVISION
- Add missing dependency on Rails 3.0.0 - Add OPTIONS for jpmobile-ipaddresses and jpmobile-terminfo
Notes
Notes: svn path=/head/; revision=261451
Diffstat (limited to 'japanese')
-rw-r--r--japanese/rubygem-jpmobile/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/japanese/rubygem-jpmobile/Makefile b/japanese/rubygem-jpmobile/Makefile
index e6fdf86ed389..a6246fd3f39f 100644
--- a/japanese/rubygem-jpmobile/Makefile
+++ b/japanese/rubygem-jpmobile/Makefile
@@ -7,14 +7,30 @@
PORTNAME= jpmobile
PORTVERSION= 0.1.2
+PORTREVISION= 1
CATEGORIES= japanese www rubygems
MASTER_SITES= RG
MAINTAINER= tota@FreeBSD.org
COMMENT= A Rails plugin for Japanese mobile-phones
+RUN_DEPENDS= rubygem-rails>=3.0.0:${PORTSDIR}/www/rubygem-rails
+
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
+OPTIONS= IPADDRESSES "IP address validation support" On \
+ TERMINFO "terminal information support" On
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_IPADDRESSES)
+RUN_DEPENDS+= ja-jpmobile-ipaddresses>=0.0.1:${PORTSDIR}/japanese/rubygem-jpmobile-ipaddresses
+.endif
+
+.if defined(WITH_TERMINFO)
+RUN_DEPENDS+= ja-jpmobile-terminfo>=0.0.2:${PORTSDIR}/japanese/rubygem-jpmobile-terminfo
+.endif
+
.include <bsd.port.mk>