From owner-svn-ports-all@FreeBSD.ORG Mon Feb 4 02:58:13 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5B18C173; Mon, 4 Feb 2013 02:58:13 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 345368B7; Mon, 4 Feb 2013 02:58:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r142wDQW051295; Mon, 4 Feb 2013 02:58:13 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r142wCAG051293; Mon, 4 Feb 2013 02:58:12 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201302040258.r142wCAG051293@svn.freebsd.org> From: Dmitry Marakasov Date: Mon, 4 Feb 2013 02:58:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311563 - in head/graphics/xsane: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 02:58:13 -0000 Author: amdmi3 Date: Mon Feb 4 02:58:12 2013 New Revision: 311563 URL: http://svnweb.freebsd.org/changeset/ports/311563 Log: - Cleanups - Fix NLS option logic - Pass maintaindership to submitter - While here, substitude LOCALBASE in pkg-message PR: 175007 Submitted by: nemysis Modified: head/graphics/xsane/Makefile head/graphics/xsane/files/pkg-message.in Modified: head/graphics/xsane/Makefile ============================================================================== --- head/graphics/xsane/Makefile Mon Feb 4 02:47:35 2013 (r311562) +++ head/graphics/xsane/Makefile Mon Feb 4 02:58:12 2013 (r311563) @@ -3,50 +3,49 @@ PORTNAME= xsane PORTVERSION= 0.998 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= http://www.xsane.org/download/ \ http://gd.tuwien.ac.at/hci/sane/xsane/ \ ftp://ftp.mostang.com/pub/sane/xsane/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= nemysis@gmx.ch COMMENT= Gtk-based X11 frontend for SANE (Scanner Access Now Easy) LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png \ - tiff:${PORTSDIR}/graphics/tiff \ - sane:${PORTSDIR}/graphics/sane-backends + tiff:${PORTSDIR}/graphics/tiff +BUILD_DEPENDS= scanimage:${PORTSDIR}/graphics/sane-backends +RUN_DEPENDS:= ${BUILD_DEPENDS} USE_GMAKE= yes GNU_CONFIGURE= yes -WANT_GNOME= yes USE_GNOME= gtk20 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib MAN1= xsane.1 -#SUB_FILES+= pkg-message - OPTIONS_DEFINE= GIMP NLS GIMP_DESC= GIMP plugin support .include .if ${PORT_OPTIONS:MNLS} -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.else USE_GETTEXT= yes -PLIST_SUB+= NLS="" CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -lintl" +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " .endif .if ${PORT_OPTIONS:MGIMP} SUB_FILES+= pkg-message LIB_DEPENDS+= gimp:${PORTSDIR}/graphics/gimp-app +CONFIGURE_ARGS+=--enable-gimp2 .else -CONFIGURE_ARGS+= --disable-gimp +CONFIGURE_ARGS+=--disable-gimp .endif pre-patch: @@ -55,7 +54,9 @@ pre-patch: post-install: .if ${PORT_OPTIONS:MGIMP} + @${ECHO_CMD} @${CAT} ${PKGMESSAGE} + @${ECHO_CMD} .endif .include Modified: head/graphics/xsane/files/pkg-message.in ============================================================================== --- head/graphics/xsane/files/pkg-message.in Mon Feb 4 02:47:35 2013 (r311562) +++ head/graphics/xsane/files/pkg-message.in Mon Feb 4 02:58:12 2013 (r311563) @@ -1,10 +1,14 @@ -Congratulations, XSane is now installed. +=============================================================================== + +XSane has been installed. To install XSane as a GIMP plug-in, please type: -ln -sf ${LOCALBASE}/bin/xsane ~/.gimp-n.n/plug-ins/xsane + ln -sf %%LOCALBASE%%/bin/xsane ~/.gimp-*/plug-ins/xsane Then run the GIMP, and a new "XSane" menu item should appear in the -"File->Acquire" menu. Use this to access your scanner. +"File->Acquire" menu. Use this to access your scanner. Have fun! + +===============================================================================