source: trunk/dports/mail/base91/Portfile

Last change on this file was 70768, checked in by ryandesign@…, 7 years ago

base91: add Subversion properties

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 70768 2010-08-20 18:29:56Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    base91
7version                 0.6.0
8categories              mail
9platforms               darwin
10maintainers             polyphase.ca:alan.macports.sp
11license                 BSD
12
13description             Encode and decode base91 files
14
15long_description        basE91 is an advanced method for encoding binary \
16                        data as ASCII characters. It is similar to UUencode \
17                        or base64, but is more efficient. The overhead \
18                        produced by basE91 depends on the input data. It \
19                        amounts at most to 23% (versus 33% for base64) and \
20                        can range down to 14%, which typically occurs on \
21                        0-byte blocks. This makes basE91 very useful for \
22                        transferring larger files over binary insecure \
23                        connections like e-mail or terminal lines.
24
25homepage                http://base91.sourceforge.net/
26master_sites            sourceforge
27
28checksums               md5     e227841d900cc463a162bd79775aeb54 \
29                        sha1    00cfd573ec8b3d0160dbf53e2c7a49b99a1aa720 \
30                        rmd160  62ddd00e3a3dd261e7f19a6caddbec86d33146e1
31
32use_configure           no
33
34variant universal {}
35if {[variant_isset universal]} {
36    set archflags ${configure.universal_cflags}
37} else {
38    set archflags ${configure.cc_archflags}
39}
40
41build.args              prefix=${prefix} \
42                        CC="${configure.cc}" \
43                        CFLAGS="${configure.cflags} ${archflags}" \
44                        LDFLAGS="${configure.ldflags} ${archflags}"
45
46destroot.args           prefix=${prefix}
47destroot.destdir        DESTDIR=${destroot}
48
49post-destroot {
50    set docdir ${destroot}${prefix}/share/doc/${name}
51    xinstall -d ${docdir}
52    xinstall -m 644 -W ${worksrcpath} \
53        LICENSE \
54        NEWS \
55        README \
56        ${docdir}
57}
Note: See TracBrowser for help on using the repository browser.