-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
51 lines (38 loc) · 1.62 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# -*- 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
PortSystem 1.0
name quickascii
version 1.0.5
revision 1
checksums rmd160 689e3bcdeb2b8808da62d1efc14904e3158f4c98 \
sha256 de23e0fbe932aa2cfd3886b1cf629eebdc5c1d34d32ac4284453191d58b5e092 \
size 24338
maintainers {ryandesign @ryandesign} openmaintainer
platforms macosx
categories multimedia
license BSD Permissive
homepage http://quickascii.sourceforge.net/
master_sites sourceforge:project/quickascii/quickascii-all/${version}
supported_archs i386 ppc
description a movie player and picture viewer for the command line
long_description QuickASCII is ${description}, powered by QuickTime.
extract.suffix .tgz
post-extract {
copy ${filespath}/Makefile ${worksrcpath}
system -W ${worksrcpath} "make clean"
}
patchfiles-append patch-commands.c.diff
patchfiles-append patch-qtplyr.c.diff
use_configure no
variant universal {}
build.args CC="${configure.cc} [get_canonical_archflags cc]"
destroot {
xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
xinstall -W ${worksrcpath} \
INFO.txt \
LICENSE.txt \
${docdir}
}
livecheck.type sourceforge
livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}