aboutsummaryrefslogtreecommitdiffstats
path: root/misc/rubygem-ohcount/Makefile
blob: d183e496e75c68596428d91649d39a158e356065 (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
# New ports collection makefile for:    ohcount
# Date created:     2009-05-31
# Whom:         Edmondas Girkantas <eg@fbsd.lt>
#
# $FreeBSD$
#

PORTNAME=   ohcount
PORTVERSION=    2.0.1
CATEGORIES= misc rubygems
MASTER_SITES=   http://labs.ohloh.net/download/

MAINTAINER= eg@fbsd.lt
COMMENT=    Ohcount is the source code line counter that powers Ohloh

RUN_DEPENDS=    rubygem-diff-lcs>=1.1.2:${PORTSDIR}/textproc/rubygem-diff-lcs \
        ragel:${PORTSDIR}/devel/ragel

USE_RUBY=   yes
USE_RUBYGEMS=   yes
USE_RAKE=   yes
RUBYGEM_AUTOPLIST=  yes
PLIST_FILES=    bin/ohcount

.include <bsd.port.pre.mk>
.if ${RUBY_VER} == 1.9
BROKEN= does not work with ruby 1.9
.endif
.include <bsd.port.post.mk>