From 878e98cec4d4f24d87c4ecb44368b8ef0c0dbdb5 Mon Sep 17 00:00:00 2001 From: dirk Date: Sun, 9 May 1999 22:38:24 +0000 Subject: Import of xsane-0.22. XSANE is a gtk based X11 frontend for SANE (Scanner Access Now Easy). PR: ports/11044 Submitted by: Dominik Brettnacher --- graphics/xsane/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ graphics/xsane/distinfo | 1 + graphics/xsane/pkg-comment | 1 + graphics/xsane/pkg-descr | 2 ++ graphics/xsane/pkg-message | 11 +++++++++++ graphics/xsane/pkg-plist | 29 +++++++++++++++++++++++++++++ 6 files changed, 85 insertions(+) create mode 100644 graphics/xsane/Makefile create mode 100644 graphics/xsane/distinfo create mode 100644 graphics/xsane/pkg-comment create mode 100644 graphics/xsane/pkg-descr create mode 100644 graphics/xsane/pkg-message create mode 100644 graphics/xsane/pkg-plist diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile new file mode 100644 index 0000000..b56c733 --- /dev/null +++ b/graphics/xsane/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: xsane +# Version required: 0.22 +# Date created: Fri Apr 8 00:18:29 MET DST 1999 +# Whom: domi@saargate.de +# +# $Id$ +# + +DISTNAME= xsane-0.22 +CATEGORIES= graphics +MASTER_SITES= http://www.wolfsburg.de/~rauch/sane/ \ + http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/ + +MAINTAINER= domi@saargate.de + +LIB_DEPENDS= gtk12.1:${PORTSDIR}/x11-toolkits/gtk12 \ + jpeg.9:${PORTSDIR}/graphics/jpeg \ + tiff.4:${PORTSDIR}/graphics/tiff34 \ + png.3:${PORTSDIR}/graphics/png + +USE_GMAKE= yes +USE_X_PREFIX= yes +GNU_CONFIGURE= yes + +MAN1= xsane.1 + +CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ + GTK_CONFIG="${X11BASE}/bin/gtk12-config" + +.include + +.if ${OSVERSION} < 300000 +CONFIGURE_ENV+= LIBS="-Wl,--rpath -Wl,${LOCALBASE}/lib/sane -L${LOCALBASE}/lib" +.else +CONFIGURE_ENV+= LIBS="-Wl,--rpath -Wl,${LOCALBASE}/lib/sane -L${LOCALBASE}/lib -lcam" +.endif + +post-install: + @${CAT} ${PKGDIR}/MESSAGE + +.include diff --git a/graphics/xsane/distinfo b/graphics/xsane/distinfo new file mode 100644 index 0000000..b76482e --- /dev/null +++ b/graphics/xsane/distinfo @@ -0,0 +1 @@ +MD5 (xsane-0.22.tar.gz) = 9da994af5d313ebb3967e3f6e8aaa071 diff --git a/graphics/xsane/pkg-comment b/graphics/xsane/pkg-comment new file mode 100644 index 0000000..d0b82c3 --- /dev/null +++ b/graphics/xsane/pkg-comment @@ -0,0 +1 @@ +XSANE is a gtk based X11 frontend for SANE (Scanner Access Now Easy) diff --git a/graphics/xsane/pkg-descr b/graphics/xsane/pkg-descr new file mode 100644 index 0000000..424443f --- /dev/null +++ b/graphics/xsane/pkg-descr @@ -0,0 +1,2 @@ +XSANE is a gtk based X11 frontend for SANE (Scanner Access Now Easy). It +works either standalone or as a GIMP plugin. diff --git a/graphics/xsane/pkg-message b/graphics/xsane/pkg-message new file mode 100644 index 0000000..ec99633 --- /dev/null +++ b/graphics/xsane/pkg-message @@ -0,0 +1,11 @@ +Congratulations, XSANE is now installed. + +If you have GIMP installed, you can use XSANE as a GIMP plug-in. +To do this, as root, type: + +ln -sf /usr/X11R6/bin/xsane /usr/X11R6/libexec/gimp/1.1/plug-ins/xsane + +Then run the GIMP, and a new "XSane" menu item should appear in the +"Xtns" menu. Use this to access your scanner. + +Have fun! diff --git a/graphics/xsane/pkg-plist b/graphics/xsane/pkg-plist new file mode 100644 index 0000000..1f4b5e8 --- /dev/null +++ b/graphics/xsane/pkg-plist @@ -0,0 +1,29 @@ +bin/xsane +share/sane/xsane-style.rc +share/sane/xsane-logo.xpm +share/sane/sane-pnm-doc.html +share/sane/sane-pnm16-doc.html +share/sane/sane-xsane-advanced-doc.html +share/sane/sane-xsane-copy-doc.html +share/sane/sane-xsane-doc.html +share/sane/sane-xsane-fax-doc.html +share/sane/sane-xsane-gimp-doc.html +share/sane/sane-xsane-histogram-doc.html +share/sane/sane-xsane-main-doc.html +share/sane/sane-xsane-scan-doc.html +share/sane/sane-xsane-setup-doc.html +share/sane/sane-xsane-standard-doc.html +share/sane/sane-logo.gif +share/sane/sane-xsane-advanced.gif +share/sane/sane-xsane-copy.gif +share/sane/sane-xsane-gimp.gif +share/sane/sane-xsane-histogram.gif +share/sane/sane-xsane-setup-fax.gif +share/sane/sane-xsane-setup-preview.gif +share/sane/sane-xsane-setup-printer.gif +share/sane/sane-xsane-setup-save.gif +share/sane/sane-xsane-standard.gif +share/sane/sane-xsane.gif +share/sane/xsane-logo.gif +share/sane/xsane-logo2.gif +@dirrm share/sane -- cgit v1.1