aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/rubygem-jpmobile/Makefile
blob: 1effd391e840f80c8ed2225fc21d7cceff6e4b42 (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
37
38
39
40
41
42
43
# Created by: TAKATSU Tomonari <tota@rtfm.jp>
# $FreeBSD$

PORTNAME=   jpmobile
PORTVERSION=    3.0.6
CATEGORIES= japanese www rubygems
MASTER_SITES=   RG

MAINTAINER= tota@FreeBSD.org
COMMENT=    A Rails plugin for Japanese mobile-phones

LICENSE=    MIT

RUN_DEPENDS=    rubygem-rails>=3.2.8:${PORTSDIR}/www/rubygem-rails

USE_RUBY=   yes
USE_RUBYGEMS=   yes
RUBYGEM_AUTOPLIST=  yes

OPTIONS_DEFINE=     GEOKIT IPADDRESSES TERMINFO
GEOKIT_DESC=        Run with geokit
IPADDRESSES_DESC=   IP address validation support
TERMINFO_DESC=      terminal information support

OPTIONS_DEFAULT=    IPADDRESSES TERMINFO

.include <bsd.port.pre.mk>

PKGNAMEPREFIX:= ${PKGNAMEPREFIX}rubygem-

.if ${PORT_OPTIONS:MGEOKIT}
RUN_DEPENDS+=   rubygem-geokit>=1.5.0:${PORTSDIR}/graphics/rubygem-geokit
.endif

.if ${PORT_OPTIONS:MIPADDRESSES}
RUN_DEPENDS+=   ja-rubygem-jpmobile-ipaddresses>=0.0.1:${PORTSDIR}/japanese/rubygem-jpmobile-ipaddresses
.endif

.if ${PORT_OPTIONS:MTERMINFO}
RUN_DEPENDS+=   ja-rubygem-jpmobile-terminfo>=0.0.2:${PORTSDIR}/japanese/rubygem-jpmobile-terminfo
.endif

.include <bsd.port.post.mk>