diff options
author | knu <knu@FreeBSD.org> | 2001-02-21 11:55:32 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-02-21 11:55:32 +0800 |
commit | aa3339f0ed6298089f087082bcdd3d69daab7f2d (patch) | |
tree | 2922fb0db0cc04b4a0674097f075c0aba55ebc66 /print | |
parent | 60fa9decd49300dd3e4758f27de1df7c5bb3945e (diff) | |
download | freebsd-ports-gnome-aa3339f0ed6298089f087082bcdd3d69daab7f2d.tar.gz freebsd-ports-gnome-aa3339f0ed6298089f087082bcdd3d69daab7f2d.tar.zst freebsd-ports-gnome-aa3339f0ed6298089f087082bcdd3d69daab7f2d.zip |
Add ruby-pdflib, a Ruby extension library to access PDFlib.
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/ruby-pdflib/Makefile | 65 | ||||
-rw-r--r-- | print/ruby-pdflib/distinfo | 1 | ||||
-rw-r--r-- | print/ruby-pdflib/pkg-comment | 1 | ||||
-rw-r--r-- | print/ruby-pdflib/pkg-descr | 5 | ||||
-rw-r--r-- | print/ruby-pdflib/pkg-plist | 19 |
6 files changed, 92 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 623d53ef748c..d559800a948a 100644 --- a/print/Makefile +++ b/print/Makefile @@ -105,6 +105,7 @@ SUBDIR += rlpr SUBDIR += rtf2latex SUBDIR += ruby-clibpdf + SUBDIR += ruby-pdflib SUBDIR += sgf2tex SUBDIR += t1utils SUBDIR += teTeX diff --git a/print/ruby-pdflib/Makefile b/print/ruby-pdflib/Makefile new file mode 100644 index 000000000000..fefd28bb67e1 --- /dev/null +++ b/print/ruby-pdflib/Makefile @@ -0,0 +1,65 @@ +# New ports collection makefile for: Ruby/PDFlib +# Date created: 21 February 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= pdflib +PORTVERSION= 0.6 +CATEGORIES= print ruby +MASTER_SITES= http://www-nh.scphys.kyoto-u.ac.jp/~thitoshi/ruby/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ruby-${PORTNAME}-${PORTVERSION} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +LIB_DEPENDS= pdf.3:${PORTSDIR}/print/pdflib3 + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes +.if !defined(NOPORTDOCS) +USE_RUBY_RD= yes +.endif + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +INSTALL_TARGET= site-install + +DOCS_EN= ChangeLog README \ + ${RD_DOCS_EN} ${RD_DOCS_EN:S/.rd/.html/} +DOCS_JA= ChangeLog.jp README.jp \ + ${RD_DOCS_JA} ${RD_DOCS_JA:S/.rd/.html/} +RD_DOCS_EN= pdflib-api.rd +RD_DOCS_JA= pdflib-api-jp.rd +EXAMPLES_EN= hello.rb pdfclock.rb pdfgraph.rb \ + pdfimage.rb text2pdf.rb +EXAMPLES_JA= jtext2pdf.rb + +post-build: +.if !defined(NOPORTDOCS) +.for f in ${RD_DOCS_EN} ${RD_DOCS_JA} + cd ${WRKSRC}; \ + ${RUBY_RD} ${f} > ${f:S/.rd/.html/} +.endfor +.endif + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_EXAMPLESDIR}/pdflib/ja +.for f in ${EXAMPLES_EN} + ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${RUBY_EXAMPLESDIR}/pdflib/ +.endfor +.for f in ${EXAMPLES_JA} + ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${RUBY_EXAMPLESDIR}/pdflib/ja/ +.endfor + ${MKDIR} ${RUBY_DOCDIR}/pdflib/ja +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/pdflib/ +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/pdflib/ja/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/print/ruby-pdflib/distinfo b/print/ruby-pdflib/distinfo new file mode 100644 index 000000000000..91b3b0ec1c2e --- /dev/null +++ b/print/ruby-pdflib/distinfo @@ -0,0 +1 @@ +MD5 (ruby/ruby-pdflib-0.6.tar.gz) = d93f2445b326e3deed7daef9792a649a diff --git a/print/ruby-pdflib/pkg-comment b/print/ruby-pdflib/pkg-comment new file mode 100644 index 000000000000..6c459ac7f232 --- /dev/null +++ b/print/ruby-pdflib/pkg-comment @@ -0,0 +1 @@ +A Ruby extension library to access PDFlib diff --git a/print/ruby-pdflib/pkg-descr b/print/ruby-pdflib/pkg-descr new file mode 100644 index 000000000000..ef4d9ef3057d --- /dev/null +++ b/print/ruby-pdflib/pkg-descr @@ -0,0 +1,5 @@ +Ruby/PDFlib is a Ruby extension library to access PDFlib, a library +for dynamically generating PDF files. + +Author: TAKAHASHI Hitoshi <thitoshi@nh.scphys.kyoto-u.ac.jp> +WWW: http://www-nh.scphys.kyoto-u.ac.jp/~thitoshi/ruby/pdf-en.html diff --git a/print/ruby-pdflib/pkg-plist b/print/ruby-pdflib/pkg-plist new file mode 100644 index 000000000000..94166ce98494 --- /dev/null +++ b/print/ruby-pdflib/pkg-plist @@ -0,0 +1,19 @@ +%%RUBY_SITEARCHLIBDIR%%/pdflib.so +%%PORTDOCS%%%%RUBY_DOCDIR%%/pdflib/ChangeLog +%%PORTDOCS%%%%RUBY_DOCDIR%%/pdflib/README +%%PORTDOCS%%%%RUBY_DOCDIR%%/pdflib/pdflib-api.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/pdflib/pdflib-api.rd +%%PORTDOCS%%%%RUBY_DOCDIR%%/pdflib/ja/ChangeLog.jp +%%PORTDOCS%%%%RUBY_DOCDIR%%/pdflib/ja/README.jp +%%PORTDOCS%%%%RUBY_DOCDIR%%/pdflib/ja/pdflib-api-jp.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/pdflib/ja/pdflib-api-jp.rd +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/pdflib/ja +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/pdflib +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pdflib/hello.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pdflib/pdfclock.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pdflib/pdfgraph.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pdflib/pdfimage.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pdflib/text2pdf.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pdflib/ja/jtext2pdf.rb +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/pdflib/ja +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/pdflib |