mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
* fixes a missing include that prevents building on Big Sur. * add missing size checksum Fixes: https://trac.macports.org/ticket/61730
48 lines
1.6 KiB
Tcl
48 lines
1.6 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
|
|
|
|
name enscript
|
|
version 1.6.6
|
|
categories print
|
|
platforms darwin sunos
|
|
maintainers nomaintainer
|
|
license GPL-3+
|
|
|
|
description Replacement for Adobe's 'enscript' program
|
|
|
|
long_description GNU enscript is a drop-in replacement for the enscript \
|
|
program. Enscript converts ASCII files to PostScript \
|
|
and stores generated output to a file or sends it \
|
|
directly to the printer.
|
|
|
|
homepage https://www.gnu.org/software/enscript/
|
|
master_sites gnu
|
|
|
|
checksums rmd160 eae37efdd916fbd2520834c2e2428e7b729621f1 \
|
|
sha256 6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb \
|
|
size 1330493
|
|
|
|
depends_lib port:gettext
|
|
|
|
# add ruby syntax support from
|
|
# http://www.freebsd.org/cgi/cvsweb.cgi/ports/print/enscript-letter/
|
|
# and from http://support.rubyforge.org/svn/trunk/support/ruby.st
|
|
patchfiles-append patch-ruby_syntax.diff
|
|
patchfiles-append patch-string_h.diff
|
|
|
|
test.run yes
|
|
test.target check
|
|
|
|
variant mediaA4 conflicts mediaLetter description {use A4-size media} {
|
|
configure.args-append --with-media=A4
|
|
}
|
|
|
|
variant mediaLetter conflicts mediaA4 description {use Letter-size media} {
|
|
configure.args-append --with-media=Letter
|
|
}
|
|
|
|
if {![variant_isset mediaA4] && ![variant_isset mediaLetter]} {
|
|
default_variants +mediaLetter
|
|
}
|