aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rubygem-hammer_cli/Makefile
blob: 0007cf42beace2714e6288a3ccedb27b64004793 (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
# Created by: Michael Moll <kvedulv@kvedulv.de>
# $FreeBSD$

PORTNAME=   hammer_cli
PORTVERSION=    0.2.0
PORTREVISION=   2
CATEGORIES= sysutils ruby
MASTER_SITES=   RG

MAINTAINER= mmoll@FreeBSD.org
COMMENT=    Provides CLI interfaces for Ruby apps

LICENSE=    GPLv3

RUN_DEPENDS=    rubygem-apipie-bindings>=0.0.10:${PORTSDIR}/devel/rubygem-apipie-bindings \
        rubygem-awesome_print>=1.1.0:${PORTSDIR}/devel/rubygem-awesome_print \
        rubygem-clamp>=0.6.3_1:${PORTSDIR}/devel/rubygem-clamp \
        rubygem-fast_gettext>=0.8.1:${PORTSDIR}/devel/rubygem-fast_gettext \
        rubygem-highline>=1.6.20:${PORTSDIR}/devel/rubygem-highline \
        rubygem-json>=1.8.1:${PORTSDIR}/devel/rubygem-json \
        rubygem-locale>=2.0.6:${PORTSDIR}/devel/rubygem-locale \
        rubygem-logging>=1.8.1:${PORTSDIR}/devel/rubygem-logging \
        rubygem-mime-types>=1.0:${PORTSDIR}/misc/rubygem-mime-types \
        rubygem-rest-client>=1.6.7:${PORTSDIR}/www/rubygem-rest-client \
        rubygem-table_print>=1.5.1:${PORTSDIR}/devel/rubygem-table_print

NO_ARCH=    yes

USE_RUBY=   yes
USE_RUBYGEMS=   yes
RUBYGEM_AUTOPLIST=  yes

post-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/etc/hammer/cli.modules.d
    ${INSTALL_DATA} ${WRKSRC}/config/cli_config.template.yml \
        ${STAGEDIR}${PREFIX}/etc/hammer/cli_config.yml.sample

.include <bsd.port.mk>