diff options
author | knu <knu@FreeBSD.org> | 2000-08-22 15:13:41 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-22 15:13:41 +0000 |
commit | 453c1b393069424ae61a233006173c6fb3fdb943 (patch) | |
tree | 1490fb30dd37ffa31416f1a0304a4154583dd8f4 /print/ruby-clibpdf | |
parent | ee960b60c460b8b0a8f869a992f0b151041bdc5b (diff) | |
download | FreeBSD-ports-453c1b393069424ae61a233006173c6fb3fdb943.zip FreeBSD-ports-453c1b393069424ae61a233006173c6fb3fdb943.tar.gz |
Add ruby-clibpdf, a Ruby binding for ClibPDF.
Diffstat (limited to 'print/ruby-clibpdf')
-rw-r--r-- | print/ruby-clibpdf/Makefile | 67 | ||||
-rw-r--r-- | print/ruby-clibpdf/distinfo | 1 | ||||
-rw-r--r-- | print/ruby-clibpdf/pkg-comment | 1 | ||||
-rw-r--r-- | print/ruby-clibpdf/pkg-descr | 4 | ||||
-rw-r--r-- | print/ruby-clibpdf/pkg-plist | 27 |
5 files changed, 100 insertions, 0 deletions
diff --git a/print/ruby-clibpdf/Makefile b/print/ruby-clibpdf/Makefile new file mode 100644 index 0000000..2dcb2ab --- /dev/null +++ b/print/ruby-clibpdf/Makefile @@ -0,0 +1,67 @@ +# New ports collection makefile for: Ruby-ClibPDF +# Date created: 22 Aug 2000 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= clibpdf +PORTVERSION= 19991016 +CATEGORIES= print ruby +MASTER_SITES= http://www2s.biglobe.ne.jp/~Nori/ruby/ +PKGNAMEPREFIX= ruby- +DISTNAME= ClibPDF-ALPHA-${PORTVERSION} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby +LIB_DEPENDS= cpdf.0:${PORTSDIR}/print/clibpdf +RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby + +INSTALL_TARGET= site-install +CONFIGURE_ARGS= --with-opt-dir="${LOCALBASE}" + +WRKSRC= ${WRKDIR}/ClibPDF-${PORTVERSION} +PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" + +RUBY?= ${LOCALBASE}/bin/ruby +RUBY_VER?= 1.4 +RUBY_ARCH?= ${ARCH}-freebsd${OSREL} + +EXAMPLES_EN= Arcs.rb DomainDemo.rb MarkerTest.rb Minimal.rb \ + beziertest.rb charwidth.rb cover.rb dashtest.rb \ + filltest.rb fontlist.rb helloworld.rb linkpdfpage.rb \ + outline.rb textalign.rb textboxfit.rb timeaxis.rb \ + weather.rb +EXAMPLES_JA= jpntest.rb + +DOCS_EN= README +DOCS_JA= ChangeLog.ja README.ja TODO.ja + +post-extract: + ${RM} ${WRKSRC}/examples/*.pdf + +do-configure: + @cd ${WRKSRC}; \ + ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS} + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/examples/ruby/clibpdf/ja +.for f in ${EXAMPLES_EN} + ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${PREFIX}/share/examples/ruby/clibpdf/ +.endfor +.for f in ${EXAMPLES_JA} + ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${PREFIX}/share/examples/ruby/clibpdf/ja/ +.endfor + ${MKDIR} ${PREFIX}/share/doc/ruby/clibpdf/ja +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/clibpdf/ +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/clibpdf/ja/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/print/ruby-clibpdf/distinfo b/print/ruby-clibpdf/distinfo new file mode 100644 index 0000000..4197318 --- /dev/null +++ b/print/ruby-clibpdf/distinfo @@ -0,0 +1 @@ +MD5 (ruby/ClibPDF-ALPHA-19991016.tar.gz) = 9398e1df78915bd002a16e71b8d8da06 diff --git a/print/ruby-clibpdf/pkg-comment b/print/ruby-clibpdf/pkg-comment new file mode 100644 index 0000000..4906cb5 --- /dev/null +++ b/print/ruby-clibpdf/pkg-comment @@ -0,0 +1 @@ +A Ruby binding for ClibPDF diff --git a/print/ruby-clibpdf/pkg-descr b/print/ruby-clibpdf/pkg-descr new file mode 100644 index 0000000..442c42a --- /dev/null +++ b/print/ruby-clibpdf/pkg-descr @@ -0,0 +1,4 @@ +This is a Ruby binding for ClibPDF. + +Author: Noritsugu Nakamura <nnakamur@mxq.mesh.ne.jp> +WWW: http://www2s.biglobe.ne.jp/~Nori/ruby/ diff --git a/print/ruby-clibpdf/pkg-plist b/print/ruby-clibpdf/pkg-plist new file mode 100644 index 0000000..de2f92d --- /dev/null +++ b/print/ruby-clibpdf/pkg-plist @@ -0,0 +1,27 @@ +lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/ClibPDF.so +share/doc/ruby/clibpdf/README +share/doc/ruby/clibpdf/ja/ChangeLog.ja +share/doc/ruby/clibpdf/ja/README.ja +share/doc/ruby/clibpdf/ja/TODO.ja +@dirrm share/doc/ruby/clibpdf/ja +@dirrm share/doc/ruby/clibpdf +share/examples/ruby/clibpdf/Arcs.rb +share/examples/ruby/clibpdf/DomainDemo.rb +share/examples/ruby/clibpdf/MarkerTest.rb +share/examples/ruby/clibpdf/Minimal.rb +share/examples/ruby/clibpdf/beziertest.rb +share/examples/ruby/clibpdf/charwidth.rb +share/examples/ruby/clibpdf/cover.rb +share/examples/ruby/clibpdf/dashtest.rb +share/examples/ruby/clibpdf/filltest.rb +share/examples/ruby/clibpdf/fontlist.rb +share/examples/ruby/clibpdf/helloworld.rb +share/examples/ruby/clibpdf/linkpdfpage.rb +share/examples/ruby/clibpdf/outline.rb +share/examples/ruby/clibpdf/textalign.rb +share/examples/ruby/clibpdf/textboxfit.rb +share/examples/ruby/clibpdf/timeaxis.rb +share/examples/ruby/clibpdf/weather.rb +share/examples/ruby/clibpdf/ja/jpntest.rb +@dirrm share/examples/ruby/clibpdf/ja +@dirrm share/examples/ruby/clibpdf |