summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2011-05-17 22:09:48 +0000
committerdmcmahill <dmcmahill>2011-05-17 22:09:48 +0000
commit1db4a1572a2ca1f979637098d8aeb318fd66c141 (patch)
tree3349d01358f8580694848c58cfb149f2ad75c6ee /textproc
parent4bdd0ff1d1643752d1bff9c47b1d3a48f145b314 (diff)
downloadpkgsrc-1db4a1572a2ca1f979637098d8aeb318fd66c141.tar.gz
Initial import of textproc/p5-PDF-Reuse-Barcode version 0.06
This package was submited as part of PR pkg/43929 which adds the Koha Integrated Library System submitted by Edgar Fuß ------------------------------------- This is a sub-module to PDF::Reuse. It creates barcode "images" to be used in PDF documents. It uses GD::Barcode and its sub-modules: GD::Barcode::Code39, COOP2of5, EAN13 and so on, to calculate the barcode pattern. For Code128 it uses Barcode::Code128. Normally the barcodes are displayed on a white background and with the characters under the bars. You can rotate the "image", make it smaller or bigger, prolong the bars and change the background. (But then, don't forget to test that your barcode scanner still understands it.) If you don't change the size of the "image", the bars are approximately 24 pixels high (the guard bars a few pixels longer) and the box/background is 38 pixels high and something like 20 pixels wider than the barcodes. The text under the bars are 10 pixels high.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-PDF-Reuse-Barcode/DESCR14
-rw-r--r--textproc/p5-PDF-Reuse-Barcode/Makefile23
-rw-r--r--textproc/p5-PDF-Reuse-Barcode/distinfo5
3 files changed, 42 insertions, 0 deletions
diff --git a/textproc/p5-PDF-Reuse-Barcode/DESCR b/textproc/p5-PDF-Reuse-Barcode/DESCR
new file mode 100644
index 00000000000..810ed49bdbc
--- /dev/null
+++ b/textproc/p5-PDF-Reuse-Barcode/DESCR
@@ -0,0 +1,14 @@
+This is a sub-module to PDF::Reuse. It creates barcode "images" to be used in
+PDF documents. It uses GD::Barcode and its sub-modules: GD::Barcode::Code39,
+COOP2of5, EAN13 and so on, to calculate the barcode pattern. For Code128 it uses
+Barcode::Code128.
+
+Normally the barcodes are displayed on a white background and with the
+characters under the bars. You can rotate the "image", make it smaller or
+bigger, prolong the bars and change the background. (But then, don't forget to
+test that your barcode scanner still understands it.)
+
+If you don't change the size of the "image", the bars are approximately 24
+pixels high (the guard bars a few pixels longer) and the box/background is 38
+pixels high and something like 20 pixels wider than the barcodes. The text
+under the bars are 10 pixels high.
diff --git a/textproc/p5-PDF-Reuse-Barcode/Makefile b/textproc/p5-PDF-Reuse-Barcode/Makefile
new file mode 100644
index 00000000000..d0fb02a360a
--- /dev/null
+++ b/textproc/p5-PDF-Reuse-Barcode/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/05/17 22:09:48 dmcmahill Exp $
+
+DISTNAME= PDF-Reuse-Barcode-0.06
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc print perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/L/LA/LARSLUND/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/PDF-Reuse-Barcode/
+COMMENT= Create barcodes for PDF documents with PDF::Reuse
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-PDF-Reuse:../../textproc/p5-PDF-Reuse
+DEPENDS+= p5-GD-Barcode:../../graphics/p5-GD-Barcode
+DEPENDS+= p5-Barcode-Code128:../../graphics/p5-Barcode-Code128
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/PDF/Reuse/Barcode/.packlist
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-PDF-Reuse-Barcode/distinfo b/textproc/p5-PDF-Reuse-Barcode/distinfo
new file mode 100644
index 00000000000..73a77fb7d20
--- /dev/null
+++ b/textproc/p5-PDF-Reuse-Barcode/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/05/17 22:09:48 dmcmahill Exp $
+
+SHA1 (PDF-Reuse-Barcode-0.06.tar.gz) = d9ca9cd47b8c2a5510d0bc9a1adc913b700d3829
+RMD160 (PDF-Reuse-Barcode-0.06.tar.gz) = 04822090475bf28807381a57a68e84a791822b8b
+Size (PDF-Reuse-Barcode-0.06.tar.gz) = 7277 bytes