source: trunk/dports/print/enscript/Portfile

Last change on this file was 103480, checked in by ryandesign@…, 4 years ago

enscript: whitespace and formatting adjustments; add modeline

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 103480 2013-02-27 04:16:23Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                enscript
7version             1.6.6
8categories          print
9platforms           darwin sunos
10maintainers         nomaintainer
11license             GPL-3+
12
13description         Replacement for Adobe's 'enscript' program
14
15long_description    GNU enscript is a drop-in replacement for the enscript \
16                    program. Enscript converts ASCII files to PostScript \
17                    and stores generated output to a file or sends it \
18                    directly to the printer.
19
20homepage            http://www.gnu.org/software/enscript/
21master_sites        gnu
22
23checksums           rmd160  eae37efdd916fbd2520834c2e2428e7b729621f1 \
24                    sha256  6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb
25
26depends_lib         port:gettext
27
28# add ruby syntax support from
29# http://www.freebsd.org/cgi/cvsweb.cgi/ports/print/enscript-letter/
30# and from http://support.rubyforge.org/svn/trunk/support/ruby.st
31patchfiles-append   patch-ruby_syntax.diff
32
33test.run            yes
34test.target         check
35
36variant mediaA4 conflicts mediaLetter description {use A4-size media} {
37    configure.args-append --with-media=A4
38}
39
40variant mediaLetter conflicts mediaA4 description {use Letter-size media} {
41    configure.args-append --with-media=Letter
42}
43
44if {![variant_isset mediaA4] && ![variant_isset mediaLetter]} {
45    default_variants +mediaLetter
46}
Note: See TracBrowser for help on using the repository browser.