diff options
author | dirk <dirk@FreeBSD.org> | 1999-05-10 06:38:24 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 1999-05-10 06:38:24 +0800 |
commit | 878e98cec4d4f24d87c4ecb44368b8ef0c0dbdb5 (patch) | |
tree | 6cb9800d56e154faaf102b36196a339a293dae85 /graphics | |
parent | d6481cc85fecc5a96882b4c479fe0f9577ffccb0 (diff) | |
download | freebsd-ports-gnome-878e98cec4d4f24d87c4ecb44368b8ef0c0dbdb5.tar.gz freebsd-ports-gnome-878e98cec4d4f24d87c4ecb44368b8ef0c0dbdb5.tar.zst freebsd-ports-gnome-878e98cec4d4f24d87c4ecb44368b8ef0c0dbdb5.zip |
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 <domi@saargate.de>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xsane/Makefile | 41 | ||||
-rw-r--r-- | graphics/xsane/distinfo | 1 | ||||
-rw-r--r-- | graphics/xsane/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/xsane/pkg-descr | 2 | ||||
-rw-r--r-- | graphics/xsane/pkg-message | 11 | ||||
-rw-r--r-- | graphics/xsane/pkg-plist | 29 |
6 files changed, 85 insertions, 0 deletions
diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile new file mode 100644 index 000000000000..b56c7332d949 --- /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 <bsd.port.pre.mk> + +.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 <bsd.port.post.mk> diff --git a/graphics/xsane/distinfo b/graphics/xsane/distinfo new file mode 100644 index 000000000000..b76482e573c3 --- /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 000000000000..d0b82c33feb4 --- /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 000000000000..424443f4f5e5 --- /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 000000000000..ec99633ed66c --- /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 000000000000..1f4b5e871d28 --- /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 |