diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-05-13 12:10:25 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-05-13 12:10:25 +0000 |
commit | febc7f06eb2c8122f576a0a5e473d210221fdbc4 (patch) | |
tree | fdabebe753220ad9df59413235e00ffcf1e812d4 /graphics/ruby-image_size | |
parent | 187ecafe151952666eef2023d11f6e3332435651 (diff) | |
download | ports-febc7f06eb2c8122f576a0a5e473d210221fdbc4.tar.gz ports-febc7f06eb2c8122f576a0a5e473d210221fdbc4.zip |
Notes
Diffstat (limited to 'graphics/ruby-image_size')
-rw-r--r-- | graphics/ruby-image_size/Makefile | 49 | ||||
-rw-r--r-- | graphics/ruby-image_size/distinfo | 1 | ||||
-rw-r--r-- | graphics/ruby-image_size/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/ruby-image_size/pkg-descr | 4 | ||||
-rw-r--r-- | graphics/ruby-image_size/pkg-plist | 6 |
5 files changed, 61 insertions, 0 deletions
diff --git a/graphics/ruby-image_size/Makefile b/graphics/ruby-image_size/Makefile new file mode 100644 index 000000000000..f5101a099a35 --- /dev/null +++ b/graphics/ruby-image_size/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: image_size +# Date created: 13 May 2002 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= image_size +PORTVERSION= 0.0.20020105 +CATEGORIES= graphics ruby +MASTER_SITES= http://www.rubycgi.org/archive/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}.${PORTVERSION:E} +EXTRACT_SUFX= .tgz +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +USE_RUBY= yes +.if !defined(NOPORTDOCS) +USE_RUBY_RD= yes +.endif + +WRKSRC= ${WRKDIR}/${PORTNAME} + +DOCS= readme.en.html +DOCS_JA= readme.ja.rd readme.ja.html + +do-build: +.if !defined(NOPORTDOCS) + @cd ${WRKSRC}; \ + ${RUBY_RD} image_size.rb > readme.en.html + @cd ${WRKSRC}; \ + ${RUBY_RD} readme.ja.rd > readme.ja.html +.endif + +do-install: + ${INSTALL_DATA} ${WRKSRC}/image_size.rb ${RUBY_SITELIBDIR}/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/graphics/ruby-image_size/distinfo b/graphics/ruby-image_size/distinfo new file mode 100644 index 000000000000..7b53a65160bd --- /dev/null +++ b/graphics/ruby-image_size/distinfo @@ -0,0 +1 @@ +MD5 (ruby/image_size.20020105.tgz) = f6e7e45230ac6208e00313321d7212ad diff --git a/graphics/ruby-image_size/pkg-comment b/graphics/ruby-image_size/pkg-comment new file mode 100644 index 000000000000..f528ab2d9b76 --- /dev/null +++ b/graphics/ruby-image_size/pkg-comment @@ -0,0 +1 @@ +A Ruby library to measure the size of a given image file diff --git a/graphics/ruby-image_size/pkg-descr b/graphics/ruby-image_size/pkg-descr new file mode 100644 index 000000000000..1f251e23e7aa --- /dev/null +++ b/graphics/ruby-image_size/pkg-descr @@ -0,0 +1,4 @@ +This is a Ruby library to measure the size of a given image file. + +Author: Keisuke Minami <keisuke@rccn.com> +WWW: http://www.rubycgi.org/tools/index.en.htm diff --git a/graphics/ruby-image_size/pkg-plist b/graphics/ruby-image_size/pkg-plist new file mode 100644 index 000000000000..974d34af527f --- /dev/null +++ b/graphics/ruby-image_size/pkg-plist @@ -0,0 +1,6 @@ +%%RUBY_SITELIBDIR%%/image_size.rb +%%PORTDOCS%%%%RUBY_DOCDIR%%/image_size/readme.en.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/image_size/ja/readme.ja.rd +%%PORTDOCS%%%%RUBY_DOCDIR%%/image_size/ja/readme.ja.html +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/image_size/ja +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/image_size |