Add ruby-clibpdf, a Ruby binding for ClibPDF.
This commit is contained in:
parent
eb90362b5f
commit
735e506801
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31866
@ -86,6 +86,7 @@
|
|||||||
SUBDIR += py-reportlab
|
SUBDIR += py-reportlab
|
||||||
SUBDIR += rlpr
|
SUBDIR += rlpr
|
||||||
SUBDIR += rtf2latex
|
SUBDIR += rtf2latex
|
||||||
|
SUBDIR += ruby-clibpdf
|
||||||
SUBDIR += t1utils
|
SUBDIR += t1utils
|
||||||
SUBDIR += teTeX
|
SUBDIR += teTeX
|
||||||
SUBDIR += tex
|
SUBDIR += tex
|
||||||
|
67
print/ruby-clibpdf/Makefile
Normal file
67
print/ruby-clibpdf/Makefile
Normal file
@ -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>
|
1
print/ruby-clibpdf/distinfo
Normal file
1
print/ruby-clibpdf/distinfo
Normal file
@ -0,0 +1 @@
|
|||||||
|
MD5 (ruby/ClibPDF-ALPHA-19991016.tar.gz) = 9398e1df78915bd002a16e71b8d8da06
|
1
print/ruby-clibpdf/pkg-comment
Normal file
1
print/ruby-clibpdf/pkg-comment
Normal file
@ -0,0 +1 @@
|
|||||||
|
A Ruby binding for ClibPDF
|
4
print/ruby-clibpdf/pkg-descr
Normal file
4
print/ruby-clibpdf/pkg-descr
Normal file
@ -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/
|
27
print/ruby-clibpdf/pkg-plist
Normal file
27
print/ruby-clibpdf/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user