-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
44 lines (33 loc) · 1.15 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
# $Id$
PortSystem 1.0
PortGroup xcode 1.0
name a52decX
version 0.25
revision 1
categories aqua multimedia
maintainers nomaintainer
homepage http://homepage1.nifty.com/~toku/software_en.html#a52decX
description Converts AC-3 file to an AIFF file
long_description \
a52decX converts an AC-3 file being used for the sound of \
DVD-Video into an AIFF file.
master_sites http://homepage1.nifty.com/~toku/software/
checksums md5 7760780873de9b9c4d13e7d396f31b54 \
sha1 329aa192645ddf81214c191a35c680cce7a61dc3 \
rmd160 3e8f1b8a958b444aa0f9a8d298ddf0091c926bdc
depends_run port:a52dec \
port:lame
patchfiles patch-a52decX.pbproj-project.pbxproj
if {![info exists applications_dir]} {
set applications_dir /Applications/MacPorts
}
post-destroot {
set resdir ${destroot}${applications_dir}/${name}.app/Contents/Resources
foreach {exe} {a52dec lame} {
ln -s ${prefix}/bin/${exe} ${resdir}
}
}
universal_variant no
livecheck.check regex
livecheck.url [strsed ${homepage} {/#.*//}]
livecheck.regex "${name} (\\d+(?:\\.\\d+)*)"