diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2011-05-17 10:51:26 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2011-05-17 10:51:26 +0000 |
commit | b9533db9841507b4d64ac5be3a16fa9409a39942 (patch) | |
tree | 7b86361afa0c99d73884bd09a35c2ecc1e0e9ca8 /graphics | |
parent | 80120bd2b6be50a83b250bf2610849e80c34b9f7 (diff) | |
download | pkgsrc-b9533db9841507b4d64ac5be3a16fa9409a39942.tar.gz |
Initial import of graphics/p5-Barcode-Code128 version 2.01
This package was submited as part of PR pkg/43929 which adds the Koha Integrated Library System
submitted by Edgar Fuß
-------------------------------------
Barcode::Code128 generates bar codes using the CODE 128 symbology. It can
generate images in PNG or GIF format using the GD package, or it can generate a
text string representing the barcode that you can render using some other
technology if desired.
The intended use of this module is to create a web page with a bar code on it,
which can then be printed out and faxed or mailed to someone who will scan the
bar code. The application which spurred its creation was an expense report tool,
where the employee submitting the report would print out the web page and staple
the receipts to it, and the Accounts Payable clerk would scan the bar code to
indicate that the receipts were received.
The default settings for this module produce a large image that can safely be
FAXed several times and still scanned easily. If this requirement is not
important you can generate smaller image using optional parameters.
If you wish to generate images with this module you must also have the GD.pm
module (written by Lincoln Stein, and available from CPAN) installed.
If the GD module is not present, you can still use the module, but you will not
be able to use its functions for generating images. You can use the barcode()
method to get a string of "#" and " " (hash and space) characters, and use your
own image-generating routine with that as input.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/p5-Barcode-Code128/DESCR | 24 | ||||
-rw-r--r-- | graphics/p5-Barcode-Code128/Makefile | 25 |
2 files changed, 35 insertions, 14 deletions
diff --git a/graphics/p5-Barcode-Code128/DESCR b/graphics/p5-Barcode-Code128/DESCR index 23309757777..e1eb2cfdc1a 100644 --- a/graphics/p5-Barcode-Code128/DESCR +++ b/graphics/p5-Barcode-Code128/DESCR @@ -1 +1,23 @@ -Perl module Barcode::Code128 - Generate CODE 128 bar codes. +Barcode::Code128 generates bar codes using the CODE 128 symbology. It can +generate images in PNG or GIF format using the GD package, or it can generate a +text string representing the barcode that you can render using some other +technology if desired. + +The intended use of this module is to create a web page with a bar code on it, +which can then be printed out and faxed or mailed to someone who will scan the +bar code. The application which spurred its creation was an expense report tool, +where the employee submitting the report would print out the web page and staple +the receipts to it, and the Accounts Payable clerk would scan the bar code to +indicate that the receipts were received. + +The default settings for this module produce a large image that can safely be +FAXed several times and still scanned easily. If this requirement is not +important you can generate smaller image using optional parameters. + +If you wish to generate images with this module you must also have the GD.pm +module (written by Lincoln Stein, and available from CPAN) installed. + +If the GD module is not present, you can still use the module, but you will not +be able to use its functions for generating images. You can use the barcode() +method to get a string of "#" and " " (hash and space) characters, and use your +own image-generating routine with that as input. diff --git a/graphics/p5-Barcode-Code128/Makefile b/graphics/p5-Barcode-Code128/Makefile index c45806da989..c3d6ffff700 100644 --- a/graphics/p5-Barcode-Code128/Makefile +++ b/graphics/p5-Barcode-Code128/Makefile @@ -1,20 +1,19 @@ -# $NetBSD: Makefile,v 1.1.1.1 2011/02/26 18:27:00 abs Exp $ +# $NetBSD: Makefile,v 1.1.1.2 2011/05/17 10:51:26 dmcmahill Exp $ -DISTNAME= Barcode-Code128-2.01 -PKGNAME= p5-${DISTNAME} -CATEGORIES= databases perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Barcode/} +DISTNAME= Barcode-Code128-2.01 +PKGNAME= p5-${DISTNAME} +CATEGORIES= graphics perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/W/WR/WRW/} -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://search.cpan.org/~wrw/Barcode-Code128-2.01 -COMMENT= Generates bar codes using the CODE 128 symbology - -PKG_DESTDIR_SUPPORT= user-destdir -LICENSE= public-domain - -DEPENDS+= p5-GD>=1.18:../../graphics/p5-GD +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Barcode-Code128 +COMMENT= Generate CODE 128 bar codes +LICENSE= ${PERL5_LICENSE} +USE_LANGUAGES= # empty PERL5_PACKLIST= auto/Barcode/Code128/.packlist +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" |