Opened 20 years ago

Closed 20 years ago

#2545 closed defect (fixed)

NEW: graphics/xsane-0.96

Reported by: hama@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

graphics/xsane-0.96

the portfile can be foun here: INLINE

Description: An X11 frontend for the Scanner Access Now Easy Project.

Homepage: http://www.xsane.org/

Comments: Maybe I overused the variants thing a bit... I'm also not quite shure about the depends_lib syntax, but it works.

================INLINE CONTENT================ PortSystem 1.0 name xsane version 0.96 categories graphics maintainers hama@… description X11 frontend for SANE homepage http://www.xsane.org/ platforms darwin

long_description This is an X11 frontend for the Scanner Access Now Easy \

Project.

master_sites ftp://ftp.sane-project.org/pub/sane/xsane/

checksums md5 32e4693c207d0380436c76096f8c157c

depends_lib lib:libgtk.2:gtk2 lib:libsane:sane-backends

configure.env LDFLAGS="-L${prefix}/lib" \

CPPFLAGS="-I${prefix}/include -no-cpp-precomp"

configure.args --mandir=${prefix}/share/man --disable-gimp --disable-gimp2 \

--disable-gimptest --disable-jpeg --disable-png \ --disable-tiff

destroot.destdir prefix=${destroot}${prefix}

default_variants +jpeg +png

variant gtk1 { configure.args-append --disable-gtk2

depends_lib-delete lib:libgtk.2:gtk2 depends_lib-append lib:libgtk.1:gtk1 }

variant jpeg { depends_lib-append lib:libjpeg:jpeg

configure.args-delete --disable-jpeg }

variant png { depends_lib-append lib:libpng:libpng lib:libz:zlib

configure.args-delete --disable-png }

variant tiff { depends_lib-append lib:libtiff:tiff

configure.args-delete --disable-tiff }

Change History (1)

comment:1 Changed 20 years ago by toby@…

Resolution: fixed
Status: newclosed

Committed!

Note: See TracTickets for help on using tickets.