source: trunk/dports/textproc/xmlstarlet/Portfile

Last change on this file was 136285, checked in by ionic@…, 2 years ago

misc: revbump ports dependent upon ghostscript (excluding runtime-only dependents.)

Affected ports:

  • camlimages
  • srecord
  • gramps
  • goffice
  • ImageMagick
  • asymptote
  • gimp2-devel
  • gimp2
  • gimp3-devel
  • gl2ps
  • gle-graphics
  • sam2p
  • claws-mail
  • pyxplot
  • epstool
  • ghostscript-fonts-hiragino
  • libspectre
  • scribus
  • impressive
  • gmt4
  • gmt5
  • gri
  • magicspp
  • groff
  • littleutils
  • dvipng
  • lilypond-devel
  • lilypond
  • xmlstarlet
  • xcircuit-devel
  • xcircuit
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 136285 2015-05-14 03:21:00Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                xmlstarlet
7version             1.6.1
8revision            1
9categories          textproc
10maintainers         nomaintainer
11license             MIT
12
13description         xml command line utilities
14long_description    XMLStarlet is a set of command line utilities (tools) to \
15                    transform, query, validate, and edit XML documents and \
16                    files using simple set of shell commands in similar way it \
17                    is done for text files with UNIX grep, sed, awk, diff, \
18                    patch, join, etc utilities.
19
20homepage            http://xmlstar.sourceforge.net
21platforms           darwin
22master_sites        sourceforge:project/xmlstar/xmlstarlet/${version}
23
24checksums           rmd160  16ca33aa94cd9cb45ef0635526ed07243c4819db \
25                    sha256  15d838c4f3375332fd95554619179b69e4ec91418a3a5296e7c631b7ed19e7ca
26
27depends_lib         port:libxml2 port:libxslt port:libiconv
28depends_build       port:fop port:ghostscript
29
30configure.args      --disable-silent-rules \
31                    --with-libxml-prefix=${prefix} \
32                    --with-libxslt-prefix=${prefix} \
33                    --with-libiconv-prefix=${prefix} \
34                    --mandir=${prefix}/share/man \
35                    --enable-build_docs \
36                    --program-transform-name=s/xml$/${name}/
37
38build.target        clean-doc all
39# Avoid the error below by setting environment variables
40# sed: RE error: illegal byte sequence
41# http://stackoverflow.com/questions/19242275/re-error-illegal-byte-sequence-on-mac-os-x
42build.env-append    LC_CTYPE=C LANG=C
43
44post-destroot {
45    set docdir ${destroot}${prefix}/share/doc/${name}
46    xinstall -d ${docdir}
47    xinstall -m 644 -W ${worksrcpath} \
48        AUTHORS \
49        COPYING \
50        NEWS \
51        README \
52        TODO \
53        ${docdir}
54    xinstall -d ${destroot}${prefix}/share/${name}
55    file copy ${worksrcpath}/examples ${destroot}${prefix}/share/${name}
56}
57
58notes "
59Some ${name} documentation files refer to the program name as \"xml\" but\
60in MacPorts the program is installed as \"${name}\".
61"
62
63livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.