source: trunk/dports/graphics/autotrace/Portfile @ 136921

Last change on this file since 136921 was 136921, checked in by ryandesign@…, 5 years ago

autotrace: autoreconf to fix issues building with ccache or with the universal variant

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 136921 2015-05-30 03:13:05Z ryandesign@macports.org $
2
3PortSystem                      1.0
4name                            autotrace
5version                         0.31.1
6revision                        10
7categories                      graphics
8maintainers                     nomaintainer
9license                         GPL-2+
10
11description                     Convert bitmap to vector graphics
12long_description \
13        The aim of the AutoTrace project is the development of a freely \
14        available application with a functionality similar to CorelTrace or \
15        Adobe Streamline. I hope that it will become better than all \
16        commercially available programs.  In some aspects it is already better.
17
18platforms                       darwin
19
20homepage                        http://autotrace.sourceforge.net/
21master_sites            sourceforge:project/autotrace/AutoTrace/${version}
22
23checksums                       md5 54eabbb38d2076ded6d271e1ee4d0783
24
25depends_lib                     port:libpng port:pstoedit port:ImageMagick
26
27post-extract {
28    move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
29        file mkdir ${workpath}/bin
30        xinstall ${filespath}/pstoedit-config ${workpath}/bin
31}
32
33patchfiles                      patch-autotrace.m4.diff \
34                                        patch-libpng-1.5.diff
35
36# Fix universal variant, build with ccache
37use_autoreconf          yes
38autoreconf.args-append  --force
39
40configure.args          --mandir=${prefix}/share/man \
41                                        --with-magick \
42                                        --with-pstoedit-prefix=${workpath}
43
44post-destroot {
45    set docdir ${prefix}/share/doc/${subport}
46    xinstall -m 755 -d ${destroot}${docdir}
47        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.LIB ChangeLog \
48                FAQ HACKING INSTALL NEWS README README.MING THANKS TODO \
49        ${destroot}${docdir}
50}
51
52livecheck.distname AutoTrace
Note: See TracBrowser for help on using the repository browser.