diff --git a/graphics/Makefile b/graphics/Makefile index e59418ff9c86..9e8e117a766c 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -525,6 +525,7 @@ SUBDIR += ruby-ming SUBDIR += ruby-opengl SUBDIR += ruby-pgplot + SUBDIR += ruby-redact SUBDIR += ruby-rmagick SUBDIR += ruby-rsvg2 SUBDIR += ruby-svg diff --git a/graphics/ruby-redact/Makefile b/graphics/ruby-redact/Makefile new file mode 100644 index 000000000000..6d0f14273406 --- /dev/null +++ b/graphics/ruby-redact/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: redact +# Date created: 06 Apr 2006 +# Whom: Alexander Botero-Lowry +# +# $FreeBSD$ + +PORTNAME= redact +PORTVERSION= 0.1.5 +CATEGORIES= graphics ruby +MASTER_SITES= ftp://ftp.code-monkey.de/pub/redact/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} + +MAINTAINER= alex@foxybanana.com +COMMENT= An edje compiler written in ruby + +BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/imlib2.so:${PORTSDIR}/graphics/ruby-imlib2 \ + ${RUBY_SITELIBDIR}/eet.rb:${PORTSDIR}/devel/ruby-eet \ + ${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_RUBY= yes +NO_BUILD= yes + +.include + +do-install: + @cd ${WRKSRC} && ${LOCALBASE}/bin/rake PREFIX=${PREFIX}/ install + +.include diff --git a/graphics/ruby-redact/distinfo b/graphics/ruby-redact/distinfo new file mode 100644 index 000000000000..6e76f6ed41a4 --- /dev/null +++ b/graphics/ruby-redact/distinfo @@ -0,0 +1,3 @@ +MD5 (redact-0.1.5.tar.gz) = 1df22de8e98532faea72ce5f3ce2d211 +SHA256 (redact-0.1.5.tar.gz) = d30d03626ab1c19797d2354d458efe4869a319e366647800c539065f6a4a8f3a +SIZE (redact-0.1.5.tar.gz) = 13906 diff --git a/graphics/ruby-redact/pkg-descr b/graphics/ruby-redact/pkg-descr new file mode 100644 index 000000000000..58f0b890bf3f --- /dev/null +++ b/graphics/ruby-redact/pkg-descr @@ -0,0 +1,12 @@ +Redact is an Edje compiler written in Ruby. + +Unlike the official Edje compiler, edje_cc, Redact doesn't read EDC code - it +reads Ruby code instead. This means that Redact will allow you to write Edjes +in a full-blown programming language. + +So why is this a good thing? + +With edje_cc, the only way to automate the creation of parts and/or programs +is to use CPP macros, which are very limited feature-wise and hard to debug. + +WWW: http://code-monkey.de/pages/redact diff --git a/graphics/ruby-redact/pkg-plist b/graphics/ruby-redact/pkg-plist new file mode 100644 index 000000000000..862485565d6c --- /dev/null +++ b/graphics/ruby-redact/pkg-plist @@ -0,0 +1,7 @@ +bin/redact +%%RUBY_SITELIBDIR%%/redact/redact.rb +%%RUBY_SITELIBDIR%%/redact/source.rb +%%RUBY_SITELIBDIR%%/redact/app.rb +%%RUBY_SITELIBDIR%%/redact/part.rb +%%RUBY_SITELIBDIR%%/redact/program.rb +@dirrm %%RUBY_SITELIBDIR%%/redact