source: trunk/dports/net/mediaserv/Portfile @ 131372

Last change on this file since 131372 was 131372, checked in by ecronin@…, 4 years ago

tablet-encode,mediaserv,p5-term-prompt: drop maintainership

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 131372 2015-01-10 16:18:33Z ecronin@macports.org $
3
4PortSystem 1.0
5
6name            mediaserv
7version         0.05
8revision        3
9categories      net
10license         Artistic-1
11maintainers     nomaintainer
12platforms       darwin
13description     On-demand transcoding server for videos, targetting \
14                the Nokia Internet Tablets.
15long_description \
16                 mediaserv is a simple web server which exposes video \
17                 content on your desktop PC or server to your Nokia \
18                 Internet Tablet (such as the Nokia 770, Nokia N800 or \
19                 Nokia N810).  When content is accessed, it transcodes \
20                 the video "Just In Time" and streams it to your \
21                 Internet Tablet.  RSS feeds for directories are also \
22                 provided, listing the most recently updated content, \
23                 and compatible with Nokia's beta Video Center \
24                 application.
25homepage        http://mediautils.garage.maemo.org/mediaserv.html
26master_sites    https://garage.maemo.org/frs/download.php/2632
27livecheck.type  regex
28livecheck.url   https://garage.maemo.org/frs/?group_id=455
29livecheck.regex mediaserv-\(\[0-9\]+\.\[0-9\]+\)\.tar\.gz
30checksums       md5 94c300a0e95c55dae42a61f77e4e41fe \
31                sha1 53aa0d2d287bdf82c232e7e944d9212453dc47b0 \
32                rmd160 78e824cd8b28effc58543e75aaf63e2cdc958941
33worksrcdir      ${name}
34
35depends_run     port:perl5.16 port:p5.16-libwww-perl port:p5.16-xml-rss \
36                port:p5.16-datetime path:bin/mplayer:mplayer-devel \
37                port:tablet-encode
38
39patchfiles      patch-mediaserv.diff patch-install_sh.diff
40post-patch {
41    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|g" \
42        ${worksrcpath}/mediaserv
43    reinplace "s|@@STATIC_DIR@@|${prefix}/share/${name}|g" \
44        ${worksrcpath}/install.sh
45}
46
47use_configure   no
48
49build           {}
50
51destroot {
52    xinstall -m 755 ${worksrcpath}/mediaserv \
53        ${destroot}${prefix}/bin/mediaserv
54    xinstall -m 755 ${worksrcpath}/install.sh \
55        ${destroot}${prefix}/bin/mediaserv-install
56    xinstall -m 755 -d ${destroot}${prefix}/share/${name}
57    eval xinstall -m 644 [glob ${worksrcpath}/resources/*] \
58        ${destroot}${prefix}/share/${name}
59    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
60    xinstall -m 644 ${worksrcpath}/README.txt \
61        ${destroot}${prefix}/share/doc/${name}/README.txt
62}
Note: See TracBrowser for help on using the repository browser.