source: trunk/dports/multimedia/AtomicParsley/Portfile

Last change on this file was 141916, checked in by khindenburg@…, 2 years ago

AtomicParsley: fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 141916 2015-10-31 01:45:03Z ryandesign@macports.org $
2
3PortSystem         1.0
4
5name               AtomicParsley
6version            0.9.0
7categories         multimedia
8platforms          darwin
9maintainers        nomaintainer
10license            GPL-2+
11
12description        MPEG-4 command line tool
13long_description   AtomicParsley is a lightweight command line program \
14                   for reading, parsing and setting metadata into MPEG-4 files.
15
16homepage           http://atomicparsley.sourceforge.net
17master_sites       sourceforge:project/atomicparsley/atomicparsley/AtomicParsley%20v${version}
18distname           ${name}-source-${version}
19use_zip            yes
20checksums          md5 681e6ecec2921c98e07a9262bdcd6cf2 \
21                   sha1 6a73aed6ba569e693fe94a313e7e9e9ce204d038 \
22                   rmd160 53026ab6b251614eb3a649fe611f86d68e06dc8e
23
24conflicts          AtomicParsley-devel
25
26use_configure      no
27build.cmd          ./build
28
29variant universal {}
30
31post-patch {
32    reinplace "s|g++ |${configure.cxx} [get_canonical_archflags cxx] |g" ${worksrcpath}/build
33    reinplace "s|-O2 |${configure.optflags} |g" ${worksrcpath}/build
34    # fix usage of private type, b0rked in Leopard
35    # -eridius
36    reinplace -locale en_US.ISO8859-1 "s|_NSBitmapImageFileType|NSBitmapImageFileType|g" ${worksrcpath}/AP_NSImage.mm
37}
38
39destroot {
40    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
41}
42
43livecheck.regex ${name}-source-(\\d+(?:\\.\\d+)+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.