diff options
author | knu <knu@FreeBSD.org> | 2000-08-22 23:13:41 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-22 23:13:41 +0800 |
commit | 453c1b393069424ae61a233006173c6fb3fdb943 (patch) | |
tree | 1490fb30dd37ffa31416f1a0304a4154583dd8f4 /print | |
parent | ee960b60c460b8b0a8f869a992f0b151041bdc5b (diff) | |
download | freebsd-ports-gnome-453c1b393069424ae61a233006173c6fb3fdb943.tar.gz freebsd-ports-gnome-453c1b393069424ae61a233006173c6fb3fdb943.tar.zst freebsd-ports-gnome-453c1b393069424ae61a233006173c6fb3fdb943.zip |
Add ruby-clibpdf, a Ruby binding for ClibPDF.
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-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 |
6 files changed, 101 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 9a8754761567..3ea5a37ba4d5 100644 --- a/print/Makefile +++ b/print/Makefile @@ -86,6 +86,7 @@ SUBDIR += py-reportlab SUBDIR += rlpr SUBDIR += rtf2latex + SUBDIR += ruby-clibpdf SUBDIR += t1utils SUBDIR += teTeX SUBDIR += tex diff --git a/print/ruby-clibpdf/Makefile b/print/ruby-clibpdf/Makefile new file mode 100644 index 000000000000..2dcb2abaa041 --- /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 000000000000..4197318913c3 --- /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 000000000000..4906cb5d5ae4 --- /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 000000000000..442c42ac9eb6 --- /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 000000000000..de2f92d06aef --- /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 |