mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
51 lines
1.9 KiB
Tcl
51 lines
1.9 KiB
Tcl
# -*- 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 2
|
|
checksums rmd160 44c1574c0a48efae2fc267aab914c03577a4ec4a \
|
|
sha256 7c031cf3eb811242f53664379aebbdd9fae0b7b26b5e5d584c31a9f338154b64 \
|
|
size 890730
|
|
|
|
homepage https://www.gnu.org/software/${name}/
|
|
license GPL-2+
|
|
description convert text strings to printed barcodes
|
|
long_description \
|
|
Main features of GNU Barcode: \
|
|
\n- Available as both a library and an executable program \
|
|
\n- Supports UPC, EAN, ISBN, CODE39 and other encoding standards \
|
|
\n- PostScript and Encapsulated PostScript output \
|
|
\n- Accepts sizes and positions as inches, centimeters, millimeters \
|
|
\n- 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_build-append \
|
|
port:gettext
|
|
depends_lib-append port:libpaper \
|
|
port:gettext-runtime
|