summaryrefslogtreecommitdiffstats
path: root/graphics/ruby-cairo
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2005-10-17 14:54:15 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2005-10-17 14:54:15 +0800
commit3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0 (patch)
tree64e65110994f4e28c9a6e6ae5d58b50c5a9376be /graphics/ruby-cairo
parent7384a925c62bf5ba6f3598d5ec36b0caf4b839c2 (diff)
downloadmarcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.tar.gz
marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.tar.zst
marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.zip
- Add ruby-gtk2/ruby-gnome2 ports, update at 0.14.0. See detail:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?News_20051016_1 - Add two new ports, ruby-cairo (rcairo) and ruby-gtkmozembed. *ruby-cairo: Ruby/Cairo is a Ruby binding for Cairo. WWW: http://cairographics.org/ *ruby-gtkmozembed: Ruby/GtkMozEmbed is a Ruby binding of GtkMozEmbed a widget embedding a Mozilla Gecko renderer. WWW: http://ruby-gnome2.sourceforge.jp/ git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4954 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/ruby-cairo')
-rw-r--r--graphics/ruby-cairo/Makefile35
-rw-r--r--graphics/ruby-cairo/distinfo2
-rw-r--r--graphics/ruby-cairo/pkg-descr3
-rw-r--r--graphics/ruby-cairo/pkg-plist16
4 files changed, 56 insertions, 0 deletions
diff --git a/graphics/ruby-cairo/Makefile b/graphics/ruby-cairo/Makefile
new file mode 100644
index 000000000..9ebeec8f4
--- /dev/null
+++ b/graphics/ruby-cairo/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: rcairo
+# Date created: 16 October 2005
+# Whom: Mezz <mezz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cairo
+PORTVERSION= 1.0.0
+CATEGORIES= graphics ruby
+MASTER_SITES= http://cairographics.org/releases/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= r${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= mezz@FreeBSD.org
+COMMENT= Ruby binding for Cairo
+
+LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
+
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+
+DOCS= AUTHORS COPYING ChangeLog GPL NEWS README
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/samples/* ${RUBY_MODEXAMPLESDIR}/
+ @${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/ruby-cairo/distinfo b/graphics/ruby-cairo/distinfo
new file mode 100644
index 000000000..f9900d031
--- /dev/null
+++ b/graphics/ruby-cairo/distinfo
@@ -0,0 +1,2 @@
+MD5 (rcairo-1.0.0.tar.gz) = e6c6442b24155146ba986dc7774e45e3
+SIZE (rcairo-1.0.0.tar.gz) = 42088
diff --git a/graphics/ruby-cairo/pkg-descr b/graphics/ruby-cairo/pkg-descr
new file mode 100644
index 000000000..d8193052e
--- /dev/null
+++ b/graphics/ruby-cairo/pkg-descr
@@ -0,0 +1,3 @@
+Ruby/Cairo is a Ruby binding for Cairo.
+
+WWW: http://cairographics.org/
diff --git a/graphics/ruby-cairo/pkg-plist b/graphics/ruby-cairo/pkg-plist
new file mode 100644
index 000000000..142bf2ce1
--- /dev/null
+++ b/graphics/ruby-cairo/pkg-plist
@@ -0,0 +1,16 @@
+%%RUBY_SITEARCHLIBDIR%%/cairo.so
+%%RUBY_SITEARCHLIBDIR%%/rb_cairo.h
+%%RUBY_SITELIBDIR%%/cairo.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/pdf.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/pdf2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/png.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/ps.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/ps2.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/AUTHORS
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/GPL
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/NEWS
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%