# $Id: Portfile 143324 2015-12-10 22:58:17Z cal@macports.org $ # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup gnu_info 1.0 name barcode version 0.99 revision 1 checksums rmd160 44c1574c0a48efae2fc267aab914c03577a4ec4a \ sha256 7c031cf3eb811242f53664379aebbdd9fae0b7b26b5e5d584c31a9f338154b64 homepage http://www.gnu.org/software/${name}/ license GPL-2+ description convert text strings to printed barcodes long_description \ Main features of GNU Barcode: \ - Available as both a library and an executable program \ - Supports UPC, EAN, ISBN, CODE39 and other encoding standards \ - PostScript and Encapsulated PostScript output \ - Accepts sizes and positions as inches, centimeters, millimeters \ - Can create tables of barcodes (to print labels on sticker pages) categories textproc print maintainers nomaintainer platforms darwin master_sites gnu patchfiles patch-Makefile.am-sample-may-need-replacement-calloc-from-libgnu.diff \ patch-barcode.h-library.h-avoid-global-declaration-in-header.diff \ patch-codeabar.c-correct-output.diff \ patch-main.c-avoid-segfault-on-unconfigured-libpaper.diff use_autoreconf yes autoreconf.args -fvi destroot.destdir prefix=${destroot}${prefix} \ MAN1DIR=${destroot}${prefix}/share/man/man1 \ MAN3DIR=${destroot}${prefix}/share/man/man3 \ INFODIR=${destroot}${prefix}/share/info post-destroot { file rename ${destroot}${prefix}/bin/sample ${destroot}${prefix}/bin/${name}-sample } depends_lib port:libpaper