[53408] trunk/dports/multimedia

blb at macports.org blb at macports.org
Sun Jul 5 01:25:39 PDT 2009


Revision: 53408
          http://trac.macports.org/changeset/53408
Author:   blb at macports.org
Date:     2009-07-05 01:25:37 -0700 (Sun, 05 Jul 2009)
Log Message:
-----------
New port - multimedia/subdownloader, Automatically download and upload subtitles for videos; ticket #15531

Added Paths:
-----------
    trunk/dports/multimedia/subdownloader/
    trunk/dports/multimedia/subdownloader/Portfile

Added: trunk/dports/multimedia/subdownloader/Portfile
===================================================================
--- trunk/dports/multimedia/subdownloader/Portfile	                        (rev 0)
+++ trunk/dports/multimedia/subdownloader/Portfile	2009-07-05 08:25:37 UTC (rev 53408)
@@ -0,0 +1,50 @@
+# $Id$
+
+PortSystem          1.0
+name                subdownloader
+version             2.0.9.3
+set branch          [join [lrange [split ${version} .] 0 2] .]
+categories          multimedia
+maintainers         nomaintainer
+description         Automatically download and upload subtitles for videos
+long_description \
+   SubDownloader is a program for automatic download/upload subtitles for \
+   videofiles (DIVX,MPEG,AVI,VOB,etc) and DVD's using fast hashing.
+
+platforms           darwin
+
+homepage            http://www.subdownloader.net/
+master_sites        http://code.launchpad.net/${name}/trunk/${branch}/+download/
+
+checksums           md5     eff9ef5b0f027ff913798cdc41f5ce47 \
+                    sha1    bd4ba869e1fb7ea7a705e5bf2c5270da99722f04 \
+                    rmd160  54d4f0d2e3a533733a9f119c2618542552ddef41
+
+worksrcdir          ${name}
+
+depends_lib         port:python26
+
+use_configure       no
+
+build               {}
+
+destroot {
+   set myinstdir ${prefix}/libexec/${name}
+   xinstall -m 0755 -d ${destroot}${myinstdir}
+   eval file copy [glob ${worksrcpath}/*] ${destroot}${myinstdir}
+   reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.6|g" \
+      ${destroot}${myinstdir}/run.py
+   file attributes ${destroot}${myinstdir}/run.py -permissions 0755
+   move ${destroot}${myinstdir}/${name}.1 ${destroot}${prefix}/share/man/man1
+   ln -s ${myinstdir}/run.py ${destroot}${prefix}/bin/${name}
+}
+
+post-activate {
+   ui_msg "To run, use"
+   ui_msg "   ${name} --cli"
+   ui_msg "If you wish to use the graphical interface, you need to install"
+   ui_msg "the py26-pyqt4 port"
+   ui_msg "Also see"
+   ui_msg "   ${name} --help"
+}
+


Property changes on: trunk/dports/multimedia/subdownloader/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090705/b9988c1f/attachment.html>


More information about the macports-changes mailing list