diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-02-21 03:55:32 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-02-21 03:55:32 +0000 |
commit | 7c011001f9d17f0c22ea14a61f92bcaf10338894 (patch) | |
tree | 8120722ae42457a26b0b8a62da2c015bf1cc699d /print/ruby-pdflib | |
parent | 1b5309e644186db11b70f06a4df57fbacb9931ae (diff) | |
download | ports-7c011001f9d17f0c22ea14a61f92bcaf10338894.tar.gz ports-7c011001f9d17f0c22ea14a61f92bcaf10338894.zip |
Notes
Diffstat (limited to 'print/ruby-pdflib')
-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 |
5 files changed, 91 insertions, 0 deletions
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 |