diff options
author | mat <mat@FreeBSD.org> | 2006-06-25 02:41:20 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2006-06-25 02:41:20 +0800 |
commit | 1cce216f0755cd03ceac68ae60df98ed9964b7e8 (patch) | |
tree | 9027722014f1be510932fb112693b5779553493a /graphics | |
parent | d627c1e6d1314ae0f90ebfba3f86b97d66931e75 (diff) | |
download | freebsd-ports-gnome-1cce216f0755cd03ceac68ae60df98ed9964b7e8.tar.gz freebsd-ports-gnome-1cce216f0755cd03ceac68ae60df98ed9964b7e8.tar.zst freebsd-ports-gnome-1cce216f0755cd03ceac68ae60df98ed9964b7e8.zip |
Ruby bindings for Edje library
PR: 99313
Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/ruby-edje/Makefile | 38 | ||||
-rw-r--r-- | graphics/ruby-edje/distinfo | 3 | ||||
-rw-r--r-- | graphics/ruby-edje/files/patch-Rakefile | 18 | ||||
-rw-r--r-- | graphics/ruby-edje/pkg-descr | 5 | ||||
-rw-r--r-- | graphics/ruby-edje/pkg-plist | 1 |
6 files changed, 66 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 758b9719c96c..d469c27aed39 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -547,6 +547,7 @@ SUBDIR += renderpark SUBDIR += robot SUBDIR += ruby-cairo + SUBDIR += ruby-edje SUBDIR += ruby-esmart SUBDIR += ruby-evas SUBDIR += ruby-gd diff --git a/graphics/ruby-edje/Makefile b/graphics/ruby-edje/Makefile new file mode 100644 index 000000000000..7b94f3c3884b --- /dev/null +++ b/graphics/ruby-edje/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: ruby-edje +# Date created: 22 June 2006 +# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru> +# +# $FreeBSD$ +# + +PORTNAME= edje +PORTVERSION= 20060516 +CATEGORIES= graphics ruby +MASTER_SITES= http://mbsd.msk.ru/dist/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ruby-edje-${PORTVERSION} + +MAINTAINER= ssedov@mbsd.msk.ru +COMMENT= Ruby bindings for Edje library + +BUILD_DEPENDS= ${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake \ + ${RUBY_SITEARCHLIBDIR}/evas/rb_evas.h:${PORTSDIR}/graphics/ruby-evas +LIB_DEPENDS= edje.5:${PORTSDIR}/graphics/edje + +USE_BZIP2= yes +USE_RUBY= yes + +.include <bsd.port.pre.mk> + +post-patch: + @${REINPLACE_CMD} "s#%%X11BASE%%#${X11BASE}#g" ${WRKSRC}/Rakefile + +do-build: + @(cd ${WRKSRC}; ${SETENV} EDJE_PREFIX=${LOCALBASE} \ + ${LOCALBASE}/bin/rake) + +do-install: + @(cd ${WRKSRC}; ${SETENV} EDJE_PREFIX=${LOCALBASE} \ + ${LOCALBASE}/bin/rake install) + +.include <bsd.port.post.mk> diff --git a/graphics/ruby-edje/distinfo b/graphics/ruby-edje/distinfo new file mode 100644 index 000000000000..f920a5c35879 --- /dev/null +++ b/graphics/ruby-edje/distinfo @@ -0,0 +1,3 @@ +MD5 (ruby-edje-20060516.tar.bz2) = 3e4207718683f92cf832fbba838b542d +SHA256 (ruby-edje-20060516.tar.bz2) = dbf4d89a30cc9113039bc364d5528fa56da4f81f91c15eb84ec8b1add7f74eb7 +SIZE (ruby-edje-20060516.tar.bz2) = 15607 diff --git a/graphics/ruby-edje/files/patch-Rakefile b/graphics/ruby-edje/files/patch-Rakefile new file mode 100644 index 000000000000..deb297174636 --- /dev/null +++ b/graphics/ruby-edje/files/patch-Rakefile @@ -0,0 +1,18 @@ +--- Rakefile.orig Tue May 16 11:23:21 2006 ++++ Rakefile Sat Jun 24 22:14:48 2006 +@@ -16,13 +16,13 @@ + task :default => [ext_lib.so] + + file ext_lib.so => ext_lib.objects do |t| +- sh "cc #{ext_lib.ldflags} -shared -Wl " + ++ sh "cc #{ext_lib.ldflags} -L%%X11BASE%%/lib -shared -Wl " + + " #{t.prerequisites.join(" ")} -o #{t.name}" + end + + ext_lib.objects.each do |object| + file object => object.sub(/\.[^.]+$/, ".c") do |t| +- sh "cc #{ext_lib.cflags} #{t.prerequisites.first} " + ++ sh "cc #{ext_lib.cflags} -I%%X11BASE%%/include #{t.prerequisites.first} " + + "-c -o #{t.name}" + end + end diff --git a/graphics/ruby-edje/pkg-descr b/graphics/ruby-edje/pkg-descr new file mode 100644 index 000000000000..a8f6e5995878 --- /dev/null +++ b/graphics/ruby-edje/pkg-descr @@ -0,0 +1,5 @@ +ruby-edje is a set of Ruby language bindings for Enlightenment's Layout +library, Edje. + +Author: Tilman Sauerbeck <tilman@code-monkey.de> +WWW: http://code-monkey.de/ruby-efl/ diff --git a/graphics/ruby-edje/pkg-plist b/graphics/ruby-edje/pkg-plist new file mode 100644 index 000000000000..f095eae4e445 --- /dev/null +++ b/graphics/ruby-edje/pkg-plist @@ -0,0 +1 @@ +%%RUBY_SITEARCHLIBDIR%%/edje.so |