aboutsummaryrefslogtreecommitdiff
path: root/graphics/xsane
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2004-10-29 16:50:14 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2004-10-29 16:50:14 +0000
commit27e8ab70e2c26969c60756894cf971b58cad6963 (patch)
treec8b72a6837af86868893a1da24376f396d7ca901 /graphics/xsane
parent86adff2b7db1e1c8a729e1f10e4dcb9fca4235d4 (diff)
downloadports-27e8ab70e2c26969c60756894cf971b58cad6963.tar.gz
ports-27e8ab70e2c26969c60756894cf971b58cad6963.zip
Notes
Diffstat (limited to 'graphics/xsane')
-rw-r--r--graphics/xsane/Makefile10
-rw-r--r--graphics/xsane/distinfo4
-rw-r--r--graphics/xsane/pkg-plist7
3 files changed, 15 insertions, 6 deletions
diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile
index a5d5b7d8628a..935956846102 100644
--- a/graphics/xsane/Makefile
+++ b/graphics/xsane/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xsane
-PORTVERSION= 0.93
+PORTVERSION= 0.96
CATEGORIES= graphics
MASTER_SITES= http://www.xsane.org/download/ \
http://gd.tuwien.ac.at/hci/sane/xsane/ \
@@ -43,6 +43,12 @@ USE_GNOME= gtk12
CONFIGURE_ARGS+= --disable-gtk2
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500035
+CONFIGURE_ENV+= CFLAGS="${CFLAGS:C/-O[0-9]*//g}"
+.endif
+
pre-everything::
.if !defined(WITH_GIMP)
@${ECHO_MSG} "*** Note: XSane can be built with a standalone"
@@ -58,4 +64,4 @@ pre-patch:
post-install:
@${SED} 's:/usr/X11R6:${PREFIX}:' ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/xsane/distinfo b/graphics/xsane/distinfo
index e7d4a9f3c90e..04fd178439c1 100644
--- a/graphics/xsane/distinfo
+++ b/graphics/xsane/distinfo
@@ -1,2 +1,2 @@
-MD5 (xsane-0.93.tar.gz) = ff775bc264b81b2a3e8fafbcef0181c0
-SIZE (xsane-0.93.tar.gz) = 2755529
+MD5 (xsane-0.96.tar.gz) = 32e4693c207d0380436c76096f8c157c
+SIZE (xsane-0.96.tar.gz) = 3173665
diff --git a/graphics/xsane/pkg-plist b/graphics/xsane/pkg-plist
index 91ccec6cb6d2..1a936fe5e1ac 100644
--- a/graphics/xsane/pkg-plist
+++ b/graphics/xsane/pkg-plist
@@ -35,7 +35,7 @@ share/sane/xsane/doc/sane-xsane-fax-doc.html
share/sane/xsane/doc/sane-xsane-gimp-doc.html
share/sane/xsane/doc/sane-xsane-histogram-doc.html
share/sane/xsane/doc/sane-xsane-mail-doc.html
-share/sane/xsane/doc/sane-xsane-main-doc.html
+share/sane/xsane/doc/sane-xsane-medium-definition-doc.html
share/sane/xsane/doc/sane-xsane-preview-doc.html
share/sane/xsane/doc/sane-xsane-save-doc.html
share/sane/xsane/doc/sane-xsane-setup-copy-doc.html
@@ -65,6 +65,7 @@ share/sane/xsane/doc/xsane-default.jpg
share/sane/xsane/doc/xsane-delete-preview-cache.jpg
share/sane/xsane/doc/xsane-despeckle.jpg
share/sane/xsane/doc/xsane-disk.jpg
+share/sane/xsane/doc/xsane-edit-medium.jpg
share/sane/xsane/doc/xsane-fax-project.jpg
share/sane/xsane/doc/xsane-fax.jpg
share/sane/xsane/doc/xsane-gamma.jpg
@@ -74,6 +75,7 @@ share/sane/xsane/doc/xsane-logo2.jpg
share/sane/xsane/doc/xsane-mail-project.jpg
share/sane/xsane/doc/xsane-mail.jpg
share/sane/xsane/doc/xsane-medium.jpg
+share/sane/xsane/doc/xsane-medium-add.jpg
share/sane/xsane/doc/xsane-mirror-x.jpg
share/sane/xsane/doc/xsane-mirror-y.jpg
share/sane/xsane/doc/xsane-negative.jpg
@@ -95,6 +97,7 @@ share/sane/xsane/doc/xsane-pipette-gray.jpg
share/sane/xsane/doc/xsane-pipette-white.jpg
share/sane/xsane/doc/xsane-preferences.jpg
share/sane/xsane/doc/xsane-preset-area.jpg
+share/sane/xsane/doc/xsane-preset-area-context-menu.jpg
share/sane/xsane/doc/xsane-preview.jpg
share/sane/xsane/doc/xsane-printer.jpg
share/sane/xsane/doc/xsane-rename.jpg
@@ -129,7 +132,6 @@ share/sane/xsane/doc/xsane-zoom-not.jpg
share/sane/xsane/doc/xsane-zoom-out.jpg
share/sane/xsane/doc/xsane-zoom-undo.jpg
share/sane/xsane/doc/xsane-zoom.jpg
-share/sane/xsane/doc/xsane.jpg
share/sane/xsane/sane-epson-logo.xpm
share/sane/xsane/sane-hp-logo.xpm
share/sane/xsane/sane-umax-logo.xpm
@@ -142,3 +144,4 @@ share/sane/xsane/xsane-startimage.pnm
share/sane/xsane/xsane-style.rc
@dirrm share/sane/xsane/doc
@dirrm share/sane/xsane
+@unexec rmdir %D/share/sane 2> /dev/null || true