aboutsummaryrefslogtreecommitdiffstats
path: root/security/rubygem-doorkeeper/Makefile
blob: 94f9e45cec862618b73f1a41611d8d60c9e90a55 (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
# $FreeBSD$

PORTNAME=   doorkeeper
PORTVERSION=    2.2.1
CATEGORIES= security rubygems
MASTER_SITES=   RG

MAINTAINER= ruby@FreeBSD.org
COMMENT=    Doorkeeper is an OAuth 2 provider for Rails and Grape

LICENSE=    MIT

OPTIONS_SINGLE= SG1
OPTIONS_SINGLE_SG1= RAILTIES RAILTIES4

RAILTIES_DESC=  Use Railties 3
RAILTIES4_DESC= Use Railties 4

OPTIONS_DEFAULT=    RAILTIES4

RAILTIES_RUN_DEPENDS=   rubygem-railties>=3.2:${PORTSDIR}/www/rubygem-railties
RAILTIES4_RUN_DEPENDS=  rubygem-railties4>=4.0:${PORTSDIR}/www/rubygem-railties4

NO_ARCH=    yes
USE_RUBY=   yes
USE_RUBYGEMS=   yes
RUBYGEM_AUTOPLIST=  yes

.include <bsd.port.mk>