source: trunk/dports/textproc/texinfo/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name            texinfo
6version         4.13
7categories      textproc
8platforms       darwin
9maintainers     vincent-vinc17.org:opdarw
10description     Texinfo is the official documentation format of the GNU project
11long_description        Texinfo is the official documentation format of the \
12                GNU project. It uses a single source file to produce output \
13                in a number of formats, both online and printed (dvi, info, \
14                html, xml, etc.). This means that instead of writing \
15                different documents for online information and another for \
16                a printed manual, you need write only one document.
17homepage        http://www.gnu.org/software/texinfo/
18master_sites    gnu
19use_lzma        yes
20
21# The following message is useful because MacPorts doesn't test whether
22# the extract target fails, and unless the -v option has been used, the
23# error message "sh: line 1: unlzma: command not found" is filtered out
24# and the user doesn't know the cause of the problem.
25pre-extract {
26    ui_msg "If you get an error with configure, please install/activate lzmautils."
27}
28
29depends_build   bin:unlzma:lzmautils
30
31checksums       md5 20b37e49464bd72df4c6cfba33340f87 \
32                sha1 676ec9aa25a97c05dff66fba5225f9e101160063 \
33                rmd160 31d68ab41fead86d473ecc1de183fd1629e01560
34
35depends_lib     port:gettext \
36                port:libiconv \
37                port:ncurses
38
39pre-destroot {
40    xinstall -d "${destroot}${prefix}/share/doc/${name}"
41    xinstall -m 644 -v -W "${worksrcpath}" AUTHORS INTRODUCTION NEWS TODO \
42      doc/refcard/txirefcard.pdf "${destroot}${prefix}/share/doc/${name}"
43}
44
45post-destroot {
46    file delete -force ${destroot}${prefix}/lib/charset.alias
47}
48
49# We need to support names like 'texinfo-4.8a.tar.bz2'.
50livecheck.check     regex
51livecheck.url       http://ftp.gnu.org/gnu/texinfo/?C=M\;O=D
52livecheck.regex     ${name}-(\[0-9.a-s\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.