summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-09-06 12:13:54 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-09-06 12:13:54 +0800
commite87a741a6ab299e1bb786199d393199e72b6bd4b (patch)
treea5472a9a145e1006e1719e5c960ae2dc6d81de77
parent0eb62c44d7323bf9e3c478e762de395a05669dff (diff)
downloadmarcuscom-ports-e87a741a6ab299e1bb786199d393199e72b6bd4b.tar
marcuscom-ports-e87a741a6ab299e1bb786199d393199e72b6bd4b.tar.gz
marcuscom-ports-e87a741a6ab299e1bb786199d393199e72b6bd4b.tar.bz2
marcuscom-ports-e87a741a6ab299e1bb786199d393199e72b6bd4b.tar.lz
marcuscom-ports-e87a741a6ab299e1bb786199d393199e72b6bd4b.tar.xz
marcuscom-ports-e87a741a6ab299e1bb786199d393199e72b6bd4b.tar.zst
marcuscom-ports-e87a741a6ab299e1bb786199d393199e72b6bd4b.zip
Update to 1.7.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11456 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--graphics/ruby-cairo/Makefile45
-rw-r--r--graphics/ruby-cairo/distinfo3
-rw-r--r--graphics/ruby-cairo/pkg-descr3
-rw-r--r--graphics/ruby-cairo/pkg-plist36
4 files changed, 87 insertions, 0 deletions
diff --git a/graphics/ruby-cairo/Makefile b/graphics/ruby-cairo/Makefile
new file mode 100644
index 000000000..8ee7f6c9d
--- /dev/null
+++ b/graphics/ruby-cairo/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: rcairo
+# Date created: 16 October 2005
+# Whom: Mezz <mezz@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= cairo
+PORTVERSION= 1.7.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_GNOME= pkgconfig
+USE_RUBY= yes
+USE_RUBY_EXTCONF=yes
+CONFIGURE_ARGS+=--ruby=${RUBY}
+
+DOCS= AUTHORS COPYING ChangeLog GPL NEWS README
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local/lib/pkgconfig|${LOCALBASE}/libdata/pkgconfig|g' \
+ ${WRKSRC}/pkg-config.rb
+
+post-install:
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${RUBY_MODEXAMPLESDIR}/agg
+ @${INSTALL_DATA} ${WRKSRC}/samples/*.rb ${RUBY_MODEXAMPLESDIR}/
+ @${INSTALL_DATA} ${WRKSRC}/samples/agg/*.rb ${RUBY_MODEXAMPLESDIR}/agg/
+.endif
+.if !defined(NOPORTDOCS)
+ @${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..3c0b8e4f3
--- /dev/null
+++ b/graphics/ruby-cairo/distinfo
@@ -0,0 +1,3 @@
+MD5 (rcairo-1.7.0.tar.gz) = ed9aed6d62b392200e9e078734a874ce
+SHA256 (rcairo-1.7.0.tar.gz) = 9316a9f9aca1df1a17edc3f1532ffe519bd4977a76e360c5f6ddf40f9dba3630
+SIZE (rcairo-1.7.0.tar.gz) = 278526
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..4825e1ed1
--- /dev/null
+++ b/graphics/ruby-cairo/pkg-plist
@@ -0,0 +1,36 @@
+%%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/paper.rb
+%%RUBY_SITELIBDIR%%/cairo/papers.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
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/agg/aa_test.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/blur.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pac.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pac2.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/png.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/scalable.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/text-on-path.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/text2.rb
+%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%/agg
+%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
+@dirrm %%RUBY_SITELIBDIR%%/cairo/context
+@dirrm %%RUBY_SITELIBDIR%%/cairo