1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Add ruby-libpng, a libpng wrapper class for Ruby.

This commit is contained in:
Akinori MUSHA 2000-09-27 06:16:12 +00:00
parent 68bad8cfd6
commit 603545789a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33177
6 changed files with 83 additions and 0 deletions

View File

@ -155,6 +155,7 @@
SUBDIR += quickpics
SUBDIR += qvplay
SUBDIR += rayshade
SUBDIR += ruby-libpng
SUBDIR += ruby-opengl
SUBDIR += sane
SUBDIR += sced

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (ruby/ruby-libpng-0.3.3.tar.gz) = 28057ccf57df440197829cbb59c9acb4

View File

@ -0,0 +1 @@
A libpng wrapper class for Ruby

View File

@ -0,0 +1,3 @@
This is a libpng wrapper class for Ruby.
Author: DATE Ken <ge6537@i.bekkoame.ne.jp>

View File

@ -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