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

PR:		ports/95498
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com>
This commit is contained in:
Pav Lucistnik 2006-04-08 23:43:20 +00:00
parent 09de6e4786
commit 34044921bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159172
5 changed files with 52 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,29 @@
# New ports collection makefile for: redact
# Date created: 06 Apr 2006
# Whom: Alexander Botero-Lowry <alex@foxybanana.com>
#
# $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 <bsd.port.pre.mk>
do-install:
@cd ${WRKSRC} && ${LOCALBASE}/bin/rake PREFIX=${PREFIX}/ install
.include <bsd.port.post.mk>

View File

@ -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

View File

@ -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

View File

@ -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