diff options
author | minskim <minskim@pkgsrc.org> | 2006-07-23 16:57:25 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-07-23 16:57:25 +0000 |
commit | 4144027202546652c7a66f64e18bf3c0938a8493 (patch) | |
tree | fa723158fd56cdd2ad9e67b8c816e192718bcccf /graphics | |
parent | ae3245eb8332a70b2c0fa905eb6453588f439bce (diff) | |
download | pkgsrc-4144027202546652c7a66f64e18bf3c0938a8493.tar.gz |
Import ruby-rcairo from pkgsrc-wip. Packaged by Dieter Roelants.
Cairo is a 2D graphics library with support for multiple output
devices. rcairo provides ruby bindings to cairo.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/ruby-rcairo/DESCR | 2 | ||||
-rw-r--r-- | graphics/ruby-rcairo/Makefile | 22 | ||||
-rw-r--r-- | graphics/ruby-rcairo/PLIST | 4 | ||||
-rw-r--r-- | graphics/ruby-rcairo/buildlink3.mk | 22 | ||||
-rw-r--r-- | graphics/ruby-rcairo/distinfo | 5 |
5 files changed, 55 insertions, 0 deletions
diff --git a/graphics/ruby-rcairo/DESCR b/graphics/ruby-rcairo/DESCR new file mode 100644 index 00000000000..676f2acf2d1 --- /dev/null +++ b/graphics/ruby-rcairo/DESCR @@ -0,0 +1,2 @@ +Cairo is a 2D graphics library with support for multiple output +devices. rcairo provides ruby bindings to cairo. diff --git a/graphics/ruby-rcairo/Makefile b/graphics/ruby-rcairo/Makefile new file mode 100644 index 00000000000..a9565d8aaf0 --- /dev/null +++ b/graphics/ruby-rcairo/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/07/23 16:57:25 minskim Exp $ +# + +DISTNAME= rcairo-1.2.0 +PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} +CATEGORIES= graphics +MASTER_SITES= http://cairographics.org/releases/ + +MAINTAINER= dieter.NetBSD@pandora.be +HOMEPAGE= http://cairographics.org/ +COMMENT= Ruby bindings for cairo + +BUILDLINK_API_DEPENDS.cairo+= cairo>=1.2.0 + +USE_TOOLS+= pkg-config + +RUBY_HAS_ARCHLIB= YES +USE_RUBY_SETUP= YES + +.include "../../lang/ruby/modules.mk" +.include "../../graphics/cairo/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/ruby-rcairo/PLIST b/graphics/ruby-rcairo/PLIST new file mode 100644 index 00000000000..0893b657a85 --- /dev/null +++ b/graphics/ruby-rcairo/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/23 16:57:25 minskim Exp $ +${RUBY_SITELIBDIR}/cairo.rb +${RUBY_SITEARCHLIBDIR}/cairo.${RUBY_DLEXT} +${RUBY_SITEARCHLIBDIR}/rb_cairo.h diff --git a/graphics/ruby-rcairo/buildlink3.mk b/graphics/ruby-rcairo/buildlink3.mk new file mode 100644 index 00000000000..05093b423b9 --- /dev/null +++ b/graphics/ruby-rcairo/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/07/23 16:57:25 minskim Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ + +RUBY_RCAIRO_BUILDLINK3_MK:= ${RUBY_RCAIRO_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= ${RUBY_PKGPREFIX}-rcairo +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:N${RUBY_PKGPREFIX}-rcairo} +BUILDLINK_PACKAGES+= ${RUBY_PKGPREFIX}-rcairo +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}${RUBY_PKGPREFIX}-rcairo + +.if ${RUBY_RCAIRO_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.ruby18-rcairo+= ${RUBY_PKGPREFIX}-rcairo>=1.2.0 +BUILDLINK_PKGSRCDIR.ruby18-rcairo?= ../../graphics/ruby-rcairo +.endif # RUBY_RCAIRO_BUILDLINK3_MK + +.include "../../graphics/cairo/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/graphics/ruby-rcairo/distinfo b/graphics/ruby-rcairo/distinfo new file mode 100644 index 00000000000..9034c8dbee3 --- /dev/null +++ b/graphics/ruby-rcairo/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/07/23 16:57:25 minskim Exp $ + +SHA1 (rcairo-1.2.0.tar.gz) = a57f22bbf0dff8a5fb6c95be293b6318aed3faaf +RMD160 (rcairo-1.2.0.tar.gz) = 98a5380086e75025e6b6ba0ad71f1f3b924d3349 +Size (rcairo-1.2.0.tar.gz) = 47529 bytes |