summaryrefslogtreecommitdiffstats
path: root/graphics/ruby-cairo
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-29 05:28:18 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-29 05:28:18 +0800
commitf22b32ffa5807b726c15a3fd19d72664c1cdf413 (patch)
tree286e736c6599754f0f6c6f61bc960e6e47957f98 /graphics/ruby-cairo
parent5cee07539d23a0327f081339cc1d7ebe42dbc967 (diff)
downloadmarcuscom-ports-f22b32ffa5807b726c15a3fd19d72664c1cdf413.tar
marcuscom-ports-f22b32ffa5807b726c15a3fd19d72664c1cdf413.tar.gz
marcuscom-ports-f22b32ffa5807b726c15a3fd19d72664c1cdf413.tar.bz2
marcuscom-ports-f22b32ffa5807b726c15a3fd19d72664c1cdf413.tar.lz
marcuscom-ports-f22b32ffa5807b726c15a3fd19d72664c1cdf413.tar.xz
marcuscom-ports-f22b32ffa5807b726c15a3fd19d72664c1cdf413.tar.zst
marcuscom-ports-f22b32ffa5807b726c15a3fd19d72664c1cdf413.zip
Update to 1.5.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10583 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/ruby-cairo')
-rw-r--r--graphics/ruby-cairo/Makefile39
-rw-r--r--graphics/ruby-cairo/distinfo3
-rw-r--r--graphics/ruby-cairo/pkg-descr3
-rw-r--r--graphics/ruby-cairo/pkg-plist34
4 files changed, 79 insertions, 0 deletions
diff --git a/graphics/ruby-cairo/Makefile b/graphics/ruby-cairo/Makefile
new file mode 100644
index 000000000..8d4e4b56d
--- /dev/null
+++ b/graphics/ruby-cairo/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: rcairo
+# Date created: 16 October 2005
+# Whom: Mezz <mezz@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= cairo
+PORTVERSION= 1.5.1
+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_GNOME= pkgconfig
+USE_RUBY= yes
+USE_RUBY_EXTCONF=yes
+CONFIGURE_ARGS+=--ruby=${RUBY}
+
+DOCS= AUTHORS COPYING ChangeLog GPL NEWS README
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${RUBY_MODEXAMPLESDIR}/agg
+ @${INSTALL_DATA} ${WRKSRC}/samples/*.rb ${RUBY_MODEXAMPLESDIR}/
+ @${INSTALL_DATA} ${WRKSRC}/samples/agg/*.rb ${RUBY_MODEXAMPLESDIR}/agg/
+ @${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..24c7a0ba2
--- /dev/null
+++ b/graphics/ruby-cairo/distinfo
@@ -0,0 +1,3 @@
+MD5 (rcairo-1.5.1.tar.gz) = 6778eaa1a32e289c47adcd40ef0f2595
+SHA256 (rcairo-1.5.1.tar.gz) = de937298cf8ffa129e452946ba52aa2614e930a77346895da2eec72c7700ef3b
+SIZE (rcairo-1.5.1.tar.gz) = 68494
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..c22f4815a
--- /dev/null
+++ b/graphics/ruby-cairo/pkg-plist
@@ -0,0 +1,34 @@
+%%RUBY_SITELIBDIR%%/cairo.rb
+%%RUBY_SITELIBDIR%%/cairo/color.rb
+%%RUBY_SITELIBDIR%%/cairo/colors.rb
+%%RUBY_SITELIBDIR%%/cairo/constants.rb
+%%RUBY_SITELIBDIR%%/cairo/context.rb
+%%RUBY_SITELIBDIR%%/cairo/context/blur.rb
+%%RUBY_SITELIBDIR%%/cairo/context/circle.rb
+%%RUBY_SITELIBDIR%%/cairo/context/color.rb
+%%RUBY_SITELIBDIR%%/cairo/context/path.rb
+%%RUBY_SITELIBDIR%%/cairo/context/rectangle.rb
+%%RUBY_SITELIBDIR%%/cairo/context/triangle.rb
+%%RUBY_SITELIBDIR%%/cairo/path.rb
+%%RUBY_SITELIBDIR%%/cairo/point.rb
+%%RUBY_SITEARCHLIBDIR%%/cairo.so
+%%RUBY_SITEARCHLIBDIR%%/rb_cairo.h
+%%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%%%%RUBY_MODEXAMPLESDIR%%/agg/aa_test.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/blur.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/pac.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/pac2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/png.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/scalable.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/text-on-path.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/text2.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/agg
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
+%%PORTDOCS%%@dirrm %%RUBY_SITELIBDIR%%/cairo/context
+%%PORTDOCS%%@dirrm %%RUBY_SITELIBDIR%%/cairo