source: trunk/dports/multimedia/smpeg2/Portfile

Last change on this file was 109349, checked in by jmr@…, 4 years ago

smpeg2: add livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 109349 2013-08-13 19:39:45Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            smpeg2
6version         2.0.0
7categories      multimedia
8# libs are LGPL, executables are GPL
9license         {GPL-2+ LGPL} BSD IJG
10maintainers     jmr openmaintainer
11platforms       darwin
12description     a general purpose MPEG video/audio player/library
13long_description        smpeg is a general purpose MPEG video/audio player and \
14                        library programmed by Loki entertainment and others
15
16homepage        http://www.lokigames.com/development/smpeg.php3
17master_sites    http://www.libsdl.org/projects/smpeg/release/
18
19checksums       rmd160 6c175111e38055d62064c6b6453d8c5e64945c09 \
20            sha256 979a65b211744a44fa641a9b6e4d64e64a12ff703ae776bafe3c4c4cd85494b3
21
22depends_build   port:pkgconfig
23depends_lib     port:libsdl2
24
25configure.args  --disable-sdltest
26
27post-destroot {
28    set docdir ${destroot}${prefix}/share/doc/${name}
29    xinstall -d ${docdir}
30    xinstall -m 644 -W ${worksrcpath} COPYING README ${docdir}
31
32    # avoid conflict with smpeg
33    move ${destroot}${prefix}/bin/plaympeg ${destroot}${prefix}/bin/plaympeg-smpeg2
34    move ${destroot}${prefix}/share/man/man1/plaympeg.1 ${destroot}${prefix}/share/man/man1/plaympeg-smpeg2.1
35}
36
37livecheck.type  regex
38livecheck.url   [lindex $master_sites 0]
39livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.