diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-04-01 21:43:25 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-04-01 21:43:25 +0000 |
commit | 8f15e0febd8a2b48774aa4a996dfedafa081d835 (patch) | |
tree | 4425a161c851002c1fd5f1ab8eb63ef67b4e215c /print | |
parent | e295b0bcd296c0eecc4707b2b25f76eff5fd7f1b (diff) | |
download | ports-8f15e0febd8a2b48774aa4a996dfedafa081d835.tar.gz ports-8f15e0febd8a2b48774aa4a996dfedafa081d835.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/ruby-panda/Makefile | 51 | ||||
-rw-r--r-- | print/ruby-panda/distinfo | 1 | ||||
-rw-r--r-- | print/ruby-panda/files/patch-extconf.rb | 19 | ||||
-rw-r--r-- | print/ruby-panda/pkg-comment | 1 | ||||
-rw-r--r-- | print/ruby-panda/pkg-descr | 5 | ||||
-rw-r--r-- | print/ruby-panda/pkg-plist | 16 |
7 files changed, 94 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 5d0ab13cd0fb..0a9cf56caf63 100644 --- a/print/Makefile +++ b/print/Makefile @@ -116,6 +116,7 @@ SUBDIR += rlpr SUBDIR += rtf2latex SUBDIR += ruby-clibpdf + SUBDIR += ruby-panda SUBDIR += ruby-pdflib SUBDIR += sgf2tex SUBDIR += t1utils diff --git a/print/ruby-panda/Makefile b/print/ruby-panda/Makefile new file mode 100644 index 000000000000..69d3bc015c04 --- /dev/null +++ b/print/ruby-panda/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: Ruby/Panda +# Date created: 28 March 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= panda +PORTVERSION= 0.0.2 +CATEGORIES= print ruby +MASTER_SITES= http://www2s.biglobe.ne.jp/~Nori/ruby/dist/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ruby-${PORTNAME}-${PORTVERSION} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +LIB_DEPENDS= panda.0:${PORTSDIR}/print/panda \ + jpeg.9:${PORTSDIR}/graphics/jpeg \ + png.4:${PORTSDIR}/graphics/png \ + tiff.4:${PORTSDIR}/graphics/tiff + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +CONFIGURE_ARGS= --with-cflags="${PTHREAD_CFLAGS}" \ + --with-ldflags="${PTHREAD_LIBS}" +INSTALL_TARGET= site-install + +DOCS_EN= README +DOCS_JA= ChangeLog.ja README.ja TODO.ja +EXAMPLES_EN= main.rb + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} +.for f in ${EXAMPLES_EN} + ${INSTALL_DATA} ${WRKSRC}/samples/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ +.endfor + cd ${RUBY_EXAMPLESDIR}/${PORTNAME} && ${LN} -sf ../../panda/*.jpg ../../panda/*.png ../../panda/*.tif . + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/print/ruby-panda/distinfo b/print/ruby-panda/distinfo new file mode 100644 index 000000000000..655b069bd2f7 --- /dev/null +++ b/print/ruby-panda/distinfo @@ -0,0 +1 @@ +MD5 (ruby/ruby-panda-0.0.2.tar.gz) = b3d5b3d4f505a38d6a4b547db37d9172 diff --git a/print/ruby-panda/files/patch-extconf.rb b/print/ruby-panda/files/patch-extconf.rb new file mode 100644 index 000000000000..e2c02d204fd9 --- /dev/null +++ b/print/ruby-panda/files/patch-extconf.rb @@ -0,0 +1,19 @@ +--- extconf.rb.orig Sun Feb 18 10:29:04 2001 ++++ extconf.rb Wed Mar 28 18:55:31 2001 +@@ -1,7 +1,7 @@ + + require "mkmf" + +-$LDFLAGS += " -L/usr/local/lib" ++dir_config('panda') + + have_library("m", "floor") + +@@ -9,6 +9,6 @@ + have_library("jpeg", "jpeg_CreateDecompress") && + have_library("tiff", "TIFFOpen") && + have_library("png", "png_init_io") && +- have_library("panda", "pdfopen") ++ have_library("panda", "panda_open") + create_makefile("panda") + end diff --git a/print/ruby-panda/pkg-comment b/print/ruby-panda/pkg-comment new file mode 100644 index 000000000000..213485977980 --- /dev/null +++ b/print/ruby-panda/pkg-comment @@ -0,0 +1 @@ +A Ruby extension library to access Panda diff --git a/print/ruby-panda/pkg-descr b/print/ruby-panda/pkg-descr new file mode 100644 index 000000000000..8b7928e8ac62 --- /dev/null +++ b/print/ruby-panda/pkg-descr @@ -0,0 +1,5 @@ +Ruby/Panda is a Ruby extension library to access Panda, a GPL'ed +library for dynamically generating PDF files. + +Author: Noritsugu Nakamura <nnakamur@mxq.mesh.ne.jp> +WWW: http://www2s.biglobe.ne.jp/~Nori/ruby/ diff --git a/print/ruby-panda/pkg-plist b/print/ruby-panda/pkg-plist new file mode 100644 index 000000000000..43d46fe0a949 --- /dev/null +++ b/print/ruby-panda/pkg-plist @@ -0,0 +1,16 @@ +%%RUBY_SITEARCHLIBDIR%%/panda.so +%%PORTDOCS%%%%RUBY_DOCDIR%%/panda/README +%%PORTDOCS%%%%RUBY_DOCDIR%%/panda/ja/ChangeLog.ja +%%PORTDOCS%%%%RUBY_DOCDIR%%/panda/ja/README.ja +%%PORTDOCS%%%%RUBY_DOCDIR%%/panda/ja/TODO.ja +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/panda/ja +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/panda +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/panda/brave-gnu.png +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/panda/gnu-head.jpg +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/panda/gnu-head.png +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/panda/gnu_box.jpg +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/panda/input-ms.tif +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/panda/input.tif +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/panda/input2.tif +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/panda/main.rb +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/panda |