source: trunk/dports/textproc/barcode/Portfile

Last change on this file was 143324, checked in by cal@…, 20 months ago

barcode: Fix segfault if libpaper is unconfigured

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 143324 2015-12-10 22:58:17Z ryandesign@macports.org $
2# -*- 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
3
4PortSystem          1.0
5PortGroup           gnu_info 1.0
6
7name                barcode
8version             0.99
9revision            1
10checksums           rmd160  44c1574c0a48efae2fc267aab914c03577a4ec4a \
11                    sha256  7c031cf3eb811242f53664379aebbdd9fae0b7b26b5e5d584c31a9f338154b64
12
13homepage            http://www.gnu.org/software/${name}/
14license             GPL-2+
15description         convert text strings to printed barcodes
16long_description    \
17    Main features of GNU Barcode: \
18    - Available as both a library and an executable program \
19    - Supports UPC, EAN, ISBN, CODE39 and other encoding standards \
20    - PostScript and Encapsulated PostScript output \
21    - Accepts sizes and positions as inches, centimeters, millimeters \
22    - Can create tables of barcodes (to print labels on sticker pages)
23
24categories          textproc print
25maintainers         nomaintainer
26platforms           darwin
27
28master_sites        gnu
29
30patchfiles          patch-Makefile.am-sample-may-need-replacement-calloc-from-libgnu.diff \
31                    patch-barcode.h-library.h-avoid-global-declaration-in-header.diff \
32                    patch-codeabar.c-correct-output.diff \
33                    patch-main.c-avoid-segfault-on-unconfigured-libpaper.diff
34
35use_autoreconf      yes
36autoreconf.args     -fvi
37
38destroot.destdir    prefix=${destroot}${prefix} \
39                    MAN1DIR=${destroot}${prefix}/share/man/man1 \
40                    MAN3DIR=${destroot}${prefix}/share/man/man3 \
41                    INFODIR=${destroot}${prefix}/share/info
42
43post-destroot {
44    file rename ${destroot}${prefix}/bin/sample ${destroot}${prefix}/bin/${name}-sample
45}
46
47depends_lib         port:libpaper
Note: See TracBrowser for help on using the repository browser.