aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/ruby-cairo/Makefile36
-rw-r--r--graphics/ruby-cairo/distinfo2
-rw-r--r--graphics/ruby-cairo/pkg-descr3
-rw-r--r--graphics/ruby-cairo/pkg-plist16
5 files changed, 58 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index d6df5b5f8ddd..2e0b23207758 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -499,6 +499,7 @@
SUBDIR += recoverjpeg
SUBDIR += renderpark
SUBDIR += robot
+ SUBDIR += ruby-cairo
SUBDIR += ruby-gd
SUBDIR += ruby-gdk_imlib
SUBDIR += ruby-gdk_pixbuf
diff --git a/graphics/ruby-cairo/Makefile b/graphics/ruby-cairo/Makefile
new file mode 100644
index 000000000000..e4b1a83bcee7
--- /dev/null
+++ b/graphics/ruby-cairo/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: rcairo
+# Date created: 16 October 2005
+# Whom: Mezz <mezz@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/graphics/ruby-cairo/Makefile,v 1.2 2005/10/17 07:05:40 mezz Exp $
+#
+
+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 000000000000..f9900d03168b
--- /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 000000000000..d8193052e33a
--- /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 000000000000..142bf2ce1e9f
--- /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%%