summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-09-27 06:16:12 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-09-27 06:16:12 +0000
commit603545789abccb319a974b515f4bd1079b9fa085 (patch)
tree6e68d3e78b1f4e18c72ee656e43416c3c7abf32b /graphics
parentDon't delete modules, it might be needed. (diff)
Add ruby-libpng, a libpng wrapper class for Ruby.
Notes
Notes: svn path=/head/; revision=33177
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/ruby-libpng/Makefile54
-rw-r--r--graphics/ruby-libpng/distinfo1
-rw-r--r--graphics/ruby-libpng/pkg-comment1
-rw-r--r--graphics/ruby-libpng/pkg-descr3
-rw-r--r--graphics/ruby-libpng/pkg-plist23
6 files changed, 83 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 514ed640b673..e7788bea5f09 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -155,6 +155,7 @@
SUBDIR += quickpics
SUBDIR += qvplay
SUBDIR += rayshade
+ SUBDIR += ruby-libpng
SUBDIR += ruby-opengl
SUBDIR += sane
SUBDIR += sced
diff --git a/graphics/ruby-libpng/Makefile b/graphics/ruby-libpng/Makefile
new file mode 100644
index 000000000000..8906b796efd2
--- /dev/null
+++ b/graphics/ruby-libpng/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: Ruby/libpng
+# Date created: 27 Sep 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libpng
+PORTVERSION= 0.3.3
+CATEGORIES= graphics ruby
+MASTER_SITES= http://www.isc.meiji.ac.jp/~ee77038/ruby/program/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+.if !defined(NOPORTDOCS)
+USE_RUBY_RD= yes
+.endif
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+INSTALL_TARGET= site-install
+
+DOCS_JA= readme.ja.html readme.ja.rd readme.ja.txt
+EXAMPLES_EN= es.png png.rb pngtest.rb pngtest.sh \
+ test.rb \
+ sample/0.png sample/1.png sample/2.png sample/3.png \
+ sample/4.png sample/5.png sample/6.png sample/7.png \
+ sample/8.png sample/9.png sample/pngcat.rb
+
+.if !defined(NOPORTDOCS)
+post-build:
+ @cd ${WRKSRC}; \
+ ${RUBY_RD} readme.ja.rd > readme.ja.html
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/libpng
+.for f in ${EXAMPLES_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/libpng/
+.endfor
+ ${MKDIR} ${RUBY_DOCDIR}/libpng/ja
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/libpng/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/ruby-libpng/distinfo b/graphics/ruby-libpng/distinfo
new file mode 100644
index 000000000000..ec1e23bdc32a
--- /dev/null
+++ b/graphics/ruby-libpng/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-libpng-0.3.3.tar.gz) = 28057ccf57df440197829cbb59c9acb4
diff --git a/graphics/ruby-libpng/pkg-comment b/graphics/ruby-libpng/pkg-comment
new file mode 100644
index 000000000000..f7cd3bdf74f1
--- /dev/null
+++ b/graphics/ruby-libpng/pkg-comment
@@ -0,0 +1 @@
+A libpng wrapper class for Ruby
diff --git a/graphics/ruby-libpng/pkg-descr b/graphics/ruby-libpng/pkg-descr
new file mode 100644
index 000000000000..8c6f23ed7cd5
--- /dev/null
+++ b/graphics/ruby-libpng/pkg-descr
@@ -0,0 +1,3 @@
+This is a libpng wrapper class for Ruby.
+
+Author: DATE Ken <ge6537@i.bekkoame.ne.jp>
diff --git a/graphics/ruby-libpng/pkg-plist b/graphics/ruby-libpng/pkg-plist
new file mode 100644
index 000000000000..0cf55ec5da44
--- /dev/null
+++ b/graphics/ruby-libpng/pkg-plist
@@ -0,0 +1,23 @@
+%%RUBY_SITEARCHLIBDIR%%/libpng.so
+%%RUBY_EXAMPLESDIR%%/libpng/es.png
+%%RUBY_EXAMPLESDIR%%/libpng/png.rb
+%%RUBY_EXAMPLESDIR%%/libpng/pngtest.rb
+%%RUBY_EXAMPLESDIR%%/libpng/pngtest.sh
+%%RUBY_EXAMPLESDIR%%/libpng/test.rb
+%%RUBY_EXAMPLESDIR%%/libpng/0.png
+%%RUBY_EXAMPLESDIR%%/libpng/1.png
+%%RUBY_EXAMPLESDIR%%/libpng/2.png
+%%RUBY_EXAMPLESDIR%%/libpng/3.png
+%%RUBY_EXAMPLESDIR%%/libpng/4.png
+%%RUBY_EXAMPLESDIR%%/libpng/5.png
+%%RUBY_EXAMPLESDIR%%/libpng/6.png
+%%RUBY_EXAMPLESDIR%%/libpng/7.png
+%%RUBY_EXAMPLESDIR%%/libpng/8.png
+%%RUBY_EXAMPLESDIR%%/libpng/9.png
+%%RUBY_EXAMPLESDIR%%/libpng/pngcat.rb
+@dirrm %%RUBY_EXAMPLESDIR%%/libpng
+%%RUBY_DOCDIR%%/libpng/ja/readme.ja.html
+%%RUBY_DOCDIR%%/libpng/ja/readme.ja.rd
+%%RUBY_DOCDIR%%/libpng/ja/readme.ja.txt
+@dirrm %%RUBY_DOCDIR%%/libpng/ja
+@dirrm %%RUBY_DOCDIR%%/libpng