8c96452f5d
codes from various sources such as video streams, image files or raw intensity sensors. It supports EAN, UPC, Code 128, Code 39 and Interleaved 2 of 5. These are the bindings for interacting directly with the library from Perl. WWW: http://search.cpan.org/dist/Barcode-ZBar/
21 lines
455 B
Makefile
21 lines
455 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= Barcode-ZBar
|
|
PORTVERSION= 0.04
|
|
CATEGORIES= graphics perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
COMMENT= Perl extension to ZBar barcode reader
|
|
|
|
LIB_DEPENDS= libzbar.so:${PORTSDIR}/graphics/zbar
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
CONFIGURE_ARGS= INC="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
|
|
|
|
pre-install:
|
|
${STRIP_CMD} ${WRKSRC}/blib/arch/auto/Barcode/ZBar/ZBar.so
|
|
|
|
.include <bsd.port.mk>
|