pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/ruby-imlib2 Import ruby-imlib2 from pkgsrc-wi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/207d8ba61f25
branches: trunk
changeset: 491757:207d8ba61f25
user: minskim <minskim%pkgsrc.org@localhost>
date: Tue Mar 29 14:16:35 2005 +0000
description:
Import ruby-imlib2 from pkgsrc-wip. Packaged by OBATA Akio.
This is a Ruby interface to graphics/imlib2.
diffstat:
graphics/ruby-imlib2/DESCR | 2 +
graphics/ruby-imlib2/Makefile | 48 +++++++++++++++++++++++++++++++++++++++++++
graphics/ruby-imlib2/PLIST | 14 ++++++++++++
graphics/ruby-imlib2/distinfo | 5 ++++
4 files changed, 69 insertions(+), 0 deletions(-)
diffs (85 lines):
diff -r cd14c078c344 -r 207d8ba61f25 graphics/ruby-imlib2/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ruby-imlib2/DESCR Tue Mar 29 14:16:35 2005 +0000
@@ -0,0 +1,2 @@
+Imlib2-Ruby is a Ruby interface to Imlib2. All of Imlib2 (except for
+X11 calls) has been wrapped.
diff -r cd14c078c344 -r 207d8ba61f25 graphics/ruby-imlib2/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ruby-imlib2/Makefile Tue Mar 29 14:16:35 2005 +0000
@@ -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@localhost
+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 -r cd14c078c344 -r 207d8ba61f25 graphics/ruby-imlib2/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ruby-imlib2/PLIST Tue Mar 29 14:16:35 2005 +0000
@@ -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 -r cd14c078c344 -r 207d8ba61f25 graphics/ruby-imlib2/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ruby-imlib2/distinfo Tue Mar 29 14:16:35 2005 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index