Last change
on this file was
104151,
checked in by jmr@…, 5 years ago
|
subdownloader: license, noarch
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
File size:
1.7 KB
|
Line | |
---|
1 | # $Id: Portfile 104151 2013-03-18 07:59:59Z jmr@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name subdownloader |
---|
6 | version 2.0.9.3 |
---|
7 | set branch [join [lrange [split ${version} .] 0 2] .] |
---|
8 | categories multimedia |
---|
9 | license GPL-3+ |
---|
10 | maintainers nomaintainer |
---|
11 | description Automatically download and upload subtitles for videos |
---|
12 | long_description \ |
---|
13 | SubDownloader is a program for automatic download/upload subtitles for \ |
---|
14 | videofiles (DIVX,MPEG,AVI,VOB,etc) and DVD's using fast hashing. |
---|
15 | |
---|
16 | platforms darwin |
---|
17 | supported_archs noarch |
---|
18 | |
---|
19 | homepage http://www.subdownloader.net/ |
---|
20 | master_sites http://code.launchpad.net/${name}/trunk/${branch}/+download/ |
---|
21 | |
---|
22 | checksums md5 eff9ef5b0f027ff913798cdc41f5ce47 \ |
---|
23 | sha1 bd4ba869e1fb7ea7a705e5bf2c5270da99722f04 \ |
---|
24 | rmd160 54d4f0d2e3a533733a9f119c2618542552ddef41 |
---|
25 | |
---|
26 | worksrcdir ${name} |
---|
27 | |
---|
28 | depends_lib port:python26 |
---|
29 | |
---|
30 | use_configure no |
---|
31 | |
---|
32 | build {} |
---|
33 | |
---|
34 | destroot { |
---|
35 | set myinstdir ${prefix}/libexec/${name} |
---|
36 | xinstall -m 0755 -d ${destroot}${myinstdir} |
---|
37 | eval file copy [glob ${worksrcpath}/*] ${destroot}${myinstdir} |
---|
38 | reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.6|g" \ |
---|
39 | ${destroot}${myinstdir}/run.py |
---|
40 | file attributes ${destroot}${myinstdir}/run.py -permissions 0755 |
---|
41 | move ${destroot}${myinstdir}/${name}.1 ${destroot}${prefix}/share/man/man1 |
---|
42 | ln -s ${myinstdir}/run.py ${destroot}${prefix}/bin/${name} |
---|
43 | } |
---|
44 | |
---|
45 | post-activate { |
---|
46 | ui_msg "To run, use" |
---|
47 | ui_msg " ${name} --cli" |
---|
48 | ui_msg "If you wish to use the graphical interface, you need to install" |
---|
49 | ui_msg "the py26-pyqt4 port" |
---|
50 | ui_msg "Also see" |
---|
51 | ui_msg " ${name} --help" |
---|
52 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.