From owner-svn-ports-all@FreeBSD.ORG Thu Nov 21 13:26:41 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC046D53; Thu, 21 Nov 2013 13:26:41 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9CD1C2775; Thu, 21 Nov 2013 13:26:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rALDQfAb001228; Thu, 21 Nov 2013 13:26:41 GMT (envelope-from martymac@svn.freebsd.org) Received: (from martymac@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rALDQflP001225; Thu, 21 Nov 2013 13:26:41 GMT (envelope-from martymac@svn.freebsd.org) Message-Id: <201311211326.rALDQflP001225@svn.freebsd.org> From: Ganael LAPLANCHE Date: Thu, 21 Nov 2013 13:26:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334487 - head/net/grsync 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.16 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: Thu, 21 Nov 2013 13:26:41 -0000 Author: martymac Date: Thu Nov 21 13:26:40 2013 New Revision: 334487 URL: http://svnweb.freebsd.org/changeset/ports/334487 Log: - Enable staging - Fix shebang of grsync-batch using shebangfix - Use new OPTIONS framework - Rework pkg-descr Modified: head/net/grsync/Makefile head/net/grsync/pkg-descr (contents, props changed) head/net/grsync/pkg-plist Modified: head/net/grsync/Makefile ============================================================================== --- head/net/grsync/Makefile Thu Nov 21 13:24:27 2013 (r334486) +++ head/net/grsync/Makefile Thu Nov 21 13:26:40 2013 (r334487) @@ -3,6 +3,7 @@ PORTNAME= grsync PORTVERSION= 1.2.4 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= http://www.opbyte.it/release/ \ LOCAL/martymac @@ -16,7 +17,8 @@ RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync bash:${PORTSDIR}/shells/bash USE_GNOME= gtk20 -USES= desktop-file-utils gmake shared-mime-info pkgconfig +USES= desktop-file-utils gmake shared-mime-info pkgconfig shebangfix +SHEBANG_FILES= src/grsync-batch GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-unity @@ -25,21 +27,14 @@ INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -MAN1= grsync.1 grsync-batch.1 +OPTIONS_DEFINE= NLS +OPTIONS_DEFAULT= NLS +OPTIONS_SUB= yes +NLS_USES= gettext -NO_STAGE= yes .include -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -.endif - post-patch: - @${REINPLACE_CMD} 's|/bin/bash|${LOCALBASE}/bin/bash|' \ - ${WRKSRC}/src/grsync-batch .if empty(PORT_OPTIONS:MNLS) @${REINPLACE_CMD} 's/^ALL_LINGUAS=.*/ALL_LINGUAS=""/' \ ${WRKSRC}/configure Modified: head/net/grsync/pkg-descr ============================================================================== --- head/net/grsync/pkg-descr Thu Nov 21 13:24:27 2013 (r334486) +++ head/net/grsync/pkg-descr Thu Nov 21 13:26:40 2013 (r334487) @@ -2,8 +2,6 @@ Grsync is a GUI (Graphical User Interfac synchronization tool. It makes use of the GTK libraries and is released under the GPL license, so it is opensource. It doesn't support all of rsync features, but can be effectively used to synchronize local directories and supports -remote targets in a limited way (read: manual). For example some people use -grsync to synchronize their music collection with removable devices or to -backup personal files to a networked drive. +remote targets in a limited way (read: manual). WWW: http://www.opbyte.it/grsync Modified: head/net/grsync/pkg-plist ============================================================================== --- head/net/grsync/pkg-plist Thu Nov 21 13:24:27 2013 (r334486) +++ head/net/grsync/pkg-plist Thu Nov 21 13:26:40 2013 (r334487) @@ -1,5 +1,7 @@ bin/grsync bin/grsync-batch +man/man1/grsync-batch.1.gz +man/man1/grsync.1.gz %%DATADIR%%/grsync.glade share/applications/grsync.desktop share/icons/hicolor/48x48/mimetypes/application-x-grsync-session.png