source: trunk/dports/sysutils/dvdrw-tools/Portfile

Last change on this file was 126537, checked in by ryandesign@…, 3 years ago

dvdrw-tools: use the right compiler and -arch flags

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 126537 2014-10-11 14:29:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                dvdrw-tools
6version             7.1
7categories          sysutils
8license             GPL-2
9maintainers         nomaintainer
10description         Tool for mastering DVD media, including +R/RW and -R/RW
11long_description    ${description}
12
13platforms           darwin
14
15homepage            http://fy.chalmers.se/~appro/linux/DVD+RW/
16master_sites        ${homepage}tools/
17distname            dvd+rw-tools-${version}
18
19checksums           md5     8acb3c885c87f6838704a0025e435871 \
20                    sha1    6400e013934ff589b4b224eced03fd9f42ed719b \
21                    rmd160  a98367861335ecf9acea86a6b44ad68636bfb5c4
22
23depends_run         port:cdrtools
24
25patchfiles          patch-Makefile.m4
26
27post-patch {
28   reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Makefile.m4
29}
30
31use_configure       no
32
33build.args          CC="${configure.cc} [get_canonical_archflags cc]" \
34                    CXX="${configure.cxx} [get_canonical_archflags cxx]"
35
36post-destroot {
37   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
38   xinstall -m 644 -W ${worksrcpath} index.html \
39      ${destroot}${prefix}/share/doc/${name}
40}
41
42livecheck.url       http://fy.chalmers.se/~appro/linux/DVD+RW/tools/
43livecheck.regex     {dvd\+rw-tools-([0-9.]+)\.tar\.gz}
Note: See TracBrowser for help on using the repository browser.