summaryrefslogtreecommitdiff
path: root/graphics/ruby-imlib2
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-03-29 14:16:35 +0000
committerminskim <minskim@pkgsrc.org>2005-03-29 14:16:35 +0000
commit14aa72696cd4a7209337a9f59e0b1b78677246a3 (patch)
treee2a2fb34b3a76e281d22f720604bab0112cf1b11 /graphics/ruby-imlib2
parentd530462a1dc2628ab3e8b058d24b7a7e8b61597e (diff)
downloadpkgsrc-14aa72696cd4a7209337a9f59e0b1b78677246a3.tar.gz
Import ruby-imlib2 from pkgsrc-wip. Packaged by OBATA Akio.
This is a Ruby interface to graphics/imlib2.
Diffstat (limited to 'graphics/ruby-imlib2')
-rw-r--r--graphics/ruby-imlib2/DESCR2
-rw-r--r--graphics/ruby-imlib2/Makefile48
-rw-r--r--graphics/ruby-imlib2/PLIST14
-rw-r--r--graphics/ruby-imlib2/distinfo5
4 files changed, 69 insertions, 0 deletions
diff --git a/graphics/ruby-imlib2/DESCR b/graphics/ruby-imlib2/DESCR
new file mode 100644
index 00000000000..0be8d13a79a
--- /dev/null
+++ b/graphics/ruby-imlib2/DESCR
@@ -0,0 +1,2 @@
+Imlib2-Ruby is a Ruby interface to Imlib2. All of Imlib2 (except for
+X11 calls) has been wrapped.
diff --git a/graphics/ruby-imlib2/Makefile b/graphics/ruby-imlib2/Makefile
new file mode 100644
index 00000000000..0b23a4d7202
--- /dev/null
+++ b/graphics/ruby-imlib2/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/03/29 14:16:35 minskim Exp $
+
+DISTNAME= imlib2-ruby-${VER}
+PKGNAME= ${RUBY_PKGPREFIX}-imlib2-${VER}
+CATEGORIES= graphics ruby
+MASTER_SITES= http://www.pablotron.org/download/
+
+MAINTAINER= obata@lins.jp
+HOMEPAGE= http://www.pablotron.org/software/imlib2-ruby/
+COMMENT= Imlib2 bindings for Ruby
+
+VER= 0.5.0
+
+PLIST_SRC= ${WRKDIR}/PLIST
+REPLACE_RUBY_DIRS= ${WRKSRC}/examples
+RUBY_HAS_ARCHLIB= yes
+RUBY_REQD= 1.8.0
+USE_RUBY_EXTCONF= yes
+USE_X11= yes
+
+INSTALL_TARGET= site-install
+
+BUILDLINK_DEPENDS.imlib2+= imlib2>=1.2.0nb2
+
+.include "../../graphics/imlib2/buildlink3.mk"
+.include "../../lang/ruby/modules.mk"
+
+DOCS= AUTHORS COPYING ChangeLog README TODO
+
+post-install:
+ cd ${WRKSRC}/examples && ${PAX} -rw -pp -pm . ${RUBY_EXAMPLESDIR}/imlib2
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/imlib2
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/imlib2
+.endfor
+ cd ${WRKSRC}/doc && ${PAX} -rw -pp -pm . ${RUBY_DOCDIR}/imlib2/api
+ @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ cd ${RUBY_DOCDIR} && \
+ ${FIND} imlib2 \! -type d -print | ${SORT} | \
+ while read FN; do \
+ ${ECHO} "\$${RUBY_DOCDIR}/$${FN}"; \
+ done >> ${PLIST_SRC} && \
+ ${FIND} -d imlib2 -type d -print | \
+ while read DIR; do \
+ ${ECHO} "@dirrm \$${RUBY_DOCDIR}/$${DIR}"; \
+ done >> ${PLIST_SRC}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/ruby-imlib2/PLIST b/graphics/ruby-imlib2/PLIST
new file mode 100644
index 00000000000..ded27c1aed0
--- /dev/null
+++ b/graphics/ruby-imlib2/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/29 14:16:37 minskim Exp $
+${RUBY_SITEARCHLIBDIR}/imlib2.${RUBY_DLEXT}
+${RUBY_EXAMPLESDIR}/imlib2/fonts/yudit.ttf
+@dirrm ${RUBY_EXAMPLESDIR}/imlib2/fonts
+${RUBY_EXAMPLESDIR}/imlib2/images/bill_gates.jpg
+${RUBY_EXAMPLESDIR}/imlib2/images/clown.jpg
+@dirrm ${RUBY_EXAMPLESDIR}/imlib2/images
+${RUBY_EXAMPLESDIR}/imlib2/checkerboard.rb
+${RUBY_EXAMPLESDIR}/imlib2/oo-board.rb
+${RUBY_EXAMPLESDIR}/imlib2/test_attach.rb
+${RUBY_EXAMPLESDIR}/imlib2/test_font.rb
+${RUBY_EXAMPLESDIR}/imlib2/test_imlib2.rb
+${RUBY_EXAMPLESDIR}/imlib2/test_poly.rb
+@dirrm ${RUBY_EXAMPLESDIR}/imlib2
diff --git a/graphics/ruby-imlib2/distinfo b/graphics/ruby-imlib2/distinfo
new file mode 100644
index 00000000000..c8c8e139c62
--- /dev/null
+++ b/graphics/ruby-imlib2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/03/29 14:16:35 minskim Exp $
+
+SHA1 (ruby/imlib2-ruby-0.5.0.tar.gz) = 8af2f9326c26e4bd4b6af544c72891eb9b722584
+RMD160 (ruby/imlib2-ruby-0.5.0.tar.gz) = 11bc6cd2c5918ff67af4ff1367651df15b903d0c
+Size (ruby/imlib2-ruby-0.5.0.tar.gz) = 177370 bytes