1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/japanese/rubygem-jpmobile/Makefile
2014-01-24 14:49:29 +00:00

44 lines
1.0 KiB
Makefile

# Created by: TAKATSU Tomonari <tota@rtfm.jp>
# $FreeBSD$
PORTNAME= jpmobile
PORTVERSION= 3.0.7
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>