aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/rubygem-jpmobile/Makefile
blob: a6246fd3f39fe02890b0ea123bce203944ee2cf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    rubygem-jpmobile
# Date created:     2008-02-06
# Whom:         TAKATSU Tomonari <tota@rtfm.jp>
#
# $FreeBSD$
#

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>