aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/rubygem-jpmobile/Makefile
blob: 46dbfab1e4f9a46aaafbc2ccdd6c669007beac0b (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
44
45
46
# Created by: TAKATSU Tomonari <tota@rtfm.jp>
# $FreeBSD$

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

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

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/MIT-LICENSE

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

USE_RUBY=   yes
USE_RUBYGEMS=   yes
RUBYGEM_AUTOPLIST=  yes

PORTSCOUT=  limit:^3\.0\.

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>