diff options
Diffstat (limited to 'graphics/ruby-graph/Makefile')
-rw-r--r-- | graphics/ruby-graph/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/graphics/ruby-graph/Makefile b/graphics/ruby-graph/Makefile new file mode 100644 index 000000000000..7b522244cb42 --- /dev/null +++ b/graphics/ruby-graph/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: GraphR +# Date created: 24 October 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= graph +PORTVERSION= 0.1.1 +CATEGORIES= graphics ruby +MASTER_SITES= http://rockit.sourceforge.net/subprojects/graphr/ +MASTER_SITE_SUBDIR= knu +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}r-${PORTVERSION:S/./-/g} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +RUN_DEPENDS= ${LOCALBASE}/bin/dot:${PORTSDIR}/graphics/graphviz + +USE_RUBY= yes + +NO_BUILD= yes + +do-install: + cd ${WRKSRC}; ${RUBY} install.rb + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/ +.endif + +.include <bsd.port.mk> |