source: trunk/dports/multimedia/quickascii/Portfile

Last change on this file was 105523, checked in by jmr@…, 4 years ago

quickascii: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 105523 2013-04-23 18:04:29Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    quickascii
7version                 1.0.5
8revision                1
9maintainers             ryandesign openmaintainer
10platforms               macosx
11categories              multimedia
12license                 BSD Permissive
13homepage                http://quickascii.sourceforge.net/
14master_sites            sourceforge:project/quickascii/quickascii-all/${version}
15supported_archs         i386 ppc
16
17description             a movie player and picture viewer for the command line
18
19long_description        QuickASCII is ${description}, powered by QuickTime.
20
21checksums               md5     df5d7452fdf51fb53db54351bab58f8d \
22                        sha1    9a796a5d235a1e9b156ae96e69bd59455adc3e83 \
23                        rmd160  689e3bcdeb2b8808da62d1efc14904e3158f4c98
24
25extract.suffix          .tgz
26
27post-extract {
28    copy ${filespath}/Makefile ${worksrcpath}
29    system -W ${worksrcpath} "make clean"
30}
31
32patchfiles-append       patch-qtplyr.c.diff
33
34use_configure           no
35eval configure.universal_archs ${supported_archs}
36
37variant universal {}
38if {[variant_isset universal]} {
39    set archflags ${configure.universal_cflags}
40} else {
41    set archflags ${configure.cc_archflags}
42}
43
44build.args              CC="${configure.cc} ${archflags}"
45
46destroot {
47    xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin
48    set docdir ${destroot}${prefix}/share/doc/${name}
49    xinstall -d ${docdir}
50    xinstall -W ${worksrcpath} \
51        INFO.txt \
52        LICENSE.txt \
53        ${docdir}
54}
55
56livecheck.type      sourceforge
57livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.