aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-07-08 03:06:16 +0800
committerknu <knu@FreeBSD.org>2002-07-08 03:06:16 +0800
commit7e2f1e2c605b2d4be8a47be6acedcc11ee50c989 (patch)
tree3e99eb837cc1d38d49e1143b8a381183dc2aa523
parent846da1e535c051152ad54a1a4c8a030af77f5ce7 (diff)
downloadfreebsd-ports-gnome-7e2f1e2c605b2d4be8a47be6acedcc11ee50c989.tar.gz
freebsd-ports-gnome-7e2f1e2c605b2d4be8a47be6acedcc11ee50c989.tar.zst
freebsd-ports-gnome-7e2f1e2c605b2d4be8a47be6acedcc11ee50c989.zip
Add ruby-evas (Ruby/Evas version 1.0), Ruby bindings for Evas.
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/ruby-evas/Makefile48
-rw-r--r--graphics/ruby-evas/distinfo1
-rw-r--r--graphics/ruby-evas/pkg-comment1
-rw-r--r--graphics/ruby-evas/pkg-descr4
-rw-r--r--graphics/ruby-evas/pkg-plist14
6 files changed, 69 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index c3dae8aacda2..f65db267e7c2 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -296,6 +296,7 @@
SUBDIR += ray++
SUBDIR += rayshade
SUBDIR += recmpeg
+ SUBDIR += ruby-evas
SUBDIR += ruby-gd
SUBDIR += ruby-gdchart
SUBDIR += ruby-gdk_imlib
diff --git a/graphics/ruby-evas/Makefile b/graphics/ruby-evas/Makefile
new file mode 100644
index 000000000000..a99418cc80d3
--- /dev/null
+++ b/graphics/ruby-evas/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: Ruby/Evas
+# Date created: 8 July 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= evas
+PORTVERSION= 1.0
+CATEGORIES= graphics ruby
+MASTER_SITES= http://neugierig.org/software/ruby/evas/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+LIB_DEPENDS= evas.6:${PORTSDIR}/graphics/evas
+
+USE_RUBY= yes
+.if !defined(NOPORTDOCS)
+USE_RUBY_RD= yes
+.endif
+USE_RUBY_EXTCONF= yes
+
+CONFIGURE_WRKSRC= ${WRKSRC}/src
+BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
+INSTALL_WRKSRC= ${BUILD_WRKSRC}
+INSTALL_TARGET= site-install
+
+DOCS= README doc/evas.rd doc/evas.html
+
+post-build:
+.if !defined(NOPORTDOCS)
+ cd ${WRKSRC}/doc; ${MAKE}
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${CP} -R ${WRKSRC}/tests/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/ruby-evas/distinfo b/graphics/ruby-evas/distinfo
new file mode 100644
index 000000000000..997969976d1e
--- /dev/null
+++ b/graphics/ruby-evas/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-evas-1.0.tar.gz) = d74d2c6b31f5e3a6d808db2284ff69f3
diff --git a/graphics/ruby-evas/pkg-comment b/graphics/ruby-evas/pkg-comment
new file mode 100644
index 000000000000..7e2b2f3b6ca4
--- /dev/null
+++ b/graphics/ruby-evas/pkg-comment
@@ -0,0 +1 @@
+Ruby bindings for Evas
diff --git a/graphics/ruby-evas/pkg-descr b/graphics/ruby-evas/pkg-descr
new file mode 100644
index 000000000000..b6bd5d3bcde2
--- /dev/null
+++ b/graphics/ruby-evas/pkg-descr
@@ -0,0 +1,4 @@
+This is Ruby bindings for Evas.
+
+Author: Evan Martin <martine@cs.washington.edu>
+WWW: http://neugierig.org/software/ruby/evas/
diff --git a/graphics/ruby-evas/pkg-plist b/graphics/ruby-evas/pkg-plist
new file mode 100644
index 000000000000..0ce564142f40
--- /dev/null
+++ b/graphics/ruby-evas/pkg-plist
@@ -0,0 +1,14 @@
+%%RUBY_SITEARCHLIBDIR%%/evas.so
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/evas/basic.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/evas/bg.png
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/evas/broken.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/evas/fancy.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/evas/fonts.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/evas/image.png
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/evas/image.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/evas/nonblock.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/evas
+%%PORTDOCS%%%%RUBY_DOCDIR%%/evas/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/evas/evas.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/evas/evas.rd
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/evas