source: trunk/dports/graphics/xsane/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4name            xsane
5version         0.996
6categories      graphics x11
7maintainers     hamazone.de:hama
8description     X11 frontend for SANE
9homepage        http://www.xsane.org/
10platforms       darwin
11
12long_description This is an X11 frontend for the Scanner Access Now Easy \
13                 Project.
14
15master_sites    http://www.xsane.org/download/ \
16                http://www.xsane.org/download/old/ \
17                http://gd.tuwien.ac.at/hci/sane/xsane/ \
18                ftp://ftp.sane-project.org/pub/sane/xsane/ \
19                ftp://ftp3.sane-project.org/pub/sane/xsane/ \
20                ftp://gd.tuwien.ac.at/hci/sane/xsane/ \
21                ftp://sunsite.uio.no/pub/sane/xsane/
22
23checksums       md5     7dcbcdf0e83322d7c0a543672d9ca2d8 \
24                sha1    2f2a709b577463cc57d6dacec4a530a8c4feb8c6 \
25                rmd160  c927274a1d09aa74c95fc2a55f4494b261840f23
26
27depends_lib     port:gettext \
28                lib:libgimp-2.0:gimp2 \
29                port:glib2 \
30                port:gtk2 \
31                port:jpeg \
32                port:libiconv \
33                port:libpng \
34                port:sane-backends \
35                port:tiff \
36                port:zlib
37
38configure.cppflags-append -no-cpp-precomp
39
40#configure.args  --mandir=${prefix}/share/man
41
42destroot.destdir        prefix=${destroot}${prefix}
43post-destroot {
44    delete ${destroot}${prefix}/share/man
45    file rename ${destroot}${prefix}/man ${destroot}${prefix}/share/man
46
47    system "strip ${destroot}${prefix}/bin/xsane"
48
49    if {![variant_isset disable_gimp]} {
50        xinstall -d ${destroot}${prefix}/lib/gimp/2.0/plug-ins
51        ln -sf ${prefix}/bin/xsane ${destroot}${prefix}/lib/gimp/2.0/plug-ins
52    }
53}
54
55variant disable_gimp {
56    depends_lib-delete      lib:libgimp-2.0:gimp2
57    configure.args-append   --disable-gimp
58}
Note: See TracBrowser for help on using the repository browser.