aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/rubygem-graphviz/Makefile
blob: 4a7b9efbeb308c4760ef9f621dd259c61e5b0952 (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
# New ports collection makefile for:    graphviz
# Date created:     21 march, 2009
# Whom:         Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   graphviz
PORTVERSION=    0.9.0
CATEGORIES= graphics ruby
MASTER_SITES=   RF
MASTER_SITE_SUBDIR= ruby-asp
DISTNAME=   ruby-${PORTNAME}-${PORTVERSION}

MAINTAINER= wenheping@gmail.com
COMMENT=    Ruby Interface to the GraphViz Graphing Tool

RUN_DEPENDS=    ${LOCALBASE}/bin/gxl2dot:${PORTSDIR}/graphics/graphviz

USE_RUBY=   yes
USE_RUBYGEMS=   yes
GEM_NAME=   ${DISTNAME}
RUBYGEM_AUTOPLIST=  yes

post-install:
    @${ECHO} 'bin/ruby2gv' >> ${TMPPLIST}

.include <bsd.port.mk>