summaryrefslogtreecommitdiff
path: root/graphics/xsane
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>1999-05-09 22:38:24 +0000
committerDirk Froemberg <dirk@FreeBSD.org>1999-05-09 22:38:24 +0000
commit2a53ff2c43b28f7f9ebdece2f1996c941a814cdf (patch)
tree8383e2b27ccc2f3f9b685ef68e9eb51e34161e82 /graphics/xsane
parentUpdate description. (diff)
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>
Notes
Notes: svn path=/head/; revision=18708
Diffstat (limited to 'graphics/xsane')
-rw-r--r--graphics/xsane/Makefile41
-rw-r--r--graphics/xsane/distinfo1
-rw-r--r--graphics/xsane/pkg-comment1
-rw-r--r--graphics/xsane/pkg-descr2
-rw-r--r--graphics/xsane/pkg-message11
-rw-r--r--graphics/xsane/pkg-plist29
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