source: trunk/dports/devel/flasm/Portfile

Last change on this file was 138508, checked in by ryandesign@…, 2 years ago

flasm: use get_canonical_archflags

  • 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 138508 2015-07-10 10:30:56Z ryandesign@macports.org $
3
4PortSystem                  1.0
5
6name                        flasm
7# flasm's version number appears to be expressed as a floating-point number
8# instead of a dotted decimal; expect to need to increase the epoch often
9version                     1.63
10categories                  devel graphics
11platforms                   darwin
12maintainers                 ryandesign openmaintainer
13license                     BSD
14
15description                 Flash command-line assembler and disassembler
16
17long_description            ${name} is a command-line assembler and \
18                            disassembler of Flash ActionScript bytecode
19
20homepage                    http://www.nowrap.de/flasm.html
21master_sites                http://www.nowrap.de/download/
22dist_subdir                 ${name}/${version}
23distname                    ${name}[lindex [split ${version} .] 0][string index [lindex [split ${version} .] 1] 0]src
24use_zip                     yes
25
26checksums                   md5     28a4586409061b385d1cd27d3f120c0b \
27                            sha1    3b383fa042eae414c5e5608bfa91a42f44bd1a86 \
28                            rmd160  8dd4bbb9841fa6a66f2e1499b419084564f54e53
29
30depends_build               port:bison \
31                            port:flex \
32                            port:gperf
33
34depends_lib                 port:zlib
35
36extract.mkdir               yes
37
38use_configure               no
39
40variant universal {}
41
42build.args                  CC=${configure.cc} \
43                            CFLAGS="${configure.cflags} [get_canonical_archflags cc]"
44
45destroot {
46    xinstall -W ${worksrcpath} flasm ${destroot}${prefix}/bin
47   
48    set docdir ${destroot}${prefix}/share/doc/${name}
49    xinstall -d ${docdir}/html
50    xinstall -m 644 -W ${worksrcpath} CHANGES.TXT LICENSE.TXT flasm.ini ${docdir}
51    xinstall -m 644 -W ${worksrcpath} classic.css flasm.html logo.gif ${docdir}/html
52}
53
54livecheck.type              regex
55livecheck.regex             {version is <b>([0-9.]+)</b>}
Note: See TracBrowser for help on using the repository browser.