From owner-svn-ports-head@FreeBSD.ORG Fri Apr 4 13:10:25 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 945A173F; Fri, 4 Apr 2014 13:10:25 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 808C5C70; Fri, 4 Apr 2014 13:10:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s34DAPg9092506; Fri, 4 Apr 2014 13:10:25 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s34DAP1f092504; Fri, 4 Apr 2014 13:10:25 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201404041310.s34DAP1f092504@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 4 Apr 2014 13:10:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350109 - head/deskutils/clipit X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 13:10:25 -0000 Author: bapt Date: Fri Apr 4 13:10:24 2014 New Revision: 350109 URL: http://svnweb.freebsd.org/changeset/ports/350109 QAT: https://qat.redports.org/buildarchive/r350109/ Log: Support stage clean up of the useless dirrmtry Use options helpers Modified: head/deskutils/clipit/Makefile head/deskutils/clipit/pkg-plist Modified: head/deskutils/clipit/Makefile ============================================================================== --- head/deskutils/clipit/Makefile Fri Apr 4 13:03:39 2014 (r350108) +++ head/deskutils/clipit/Makefile Fri Apr 4 13:10:24 2014 (r350109) @@ -2,6 +2,7 @@ PORTNAME= clipit PORTVERSION= 1.4.2 +PORTREVISION= 1 CATEGORIES= deskutils MASTER_SITES= SF/gtkclipit/Version%201 @@ -15,26 +16,14 @@ USE_GNOME= gtk20 OPTIONS_DEFINE= NLS XDOTOOL XDOTOOL_DESC= Automatic paste functionality +OPTIONS_SUB= yes -NO_STAGE= yes -.include +NLS_USES= gettext +NLS_CONFIGURE_ON= localedir=${LOCALBASE}/share/locale +NLS_CONFIGURE_OFF= --disable-nls +XDOTOOL_RUN_DEPENDS+= xdotool:${PORTSDIR}/x11/xdotool -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -CONFIGURE_ARGS+= --localedir=${LOCALBASE}/share/locale -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif - -.if ${PORT_OPTIONS:MXDOTOOL} -RUN_DEPENDS+= xdotool:${PORTSDIR}/x11/xdotool -.endif - -MAN1= clipit.1 - -post-patch-script: +post-patch: @${REINPLACE_CMD} -e 's|^itlocaledir =.*|itlocaledir = $$(datarootdir)/locale|' \ ${WRKSRC}/po/Makefile.in.in Modified: head/deskutils/clipit/pkg-plist ============================================================================== --- head/deskutils/clipit/pkg-plist Fri Apr 4 13:03:39 2014 (r350108) +++ head/deskutils/clipit/pkg-plist Fri Apr 4 13:10:24 2014 (r350109) @@ -1,5 +1,6 @@ bin/clipit etc/xdg/autostart/clipit-startup.desktop +man/man1/clipit.1.gz share/applications/clipit.desktop share/icons/hicolor/scalable/apps/clipit-trayicon.svg %%NLS%%share/locale/cs/LC_MESSAGES/clipit.mo @@ -24,38 +25,5 @@ share/icons/hicolor/scalable/apps/clipit @dirrmtry share/icons/hicolor/scalable @dirrmtry share/icons/hicolor @dirrmtry share/icons -%%NLS%%@dirrmtry share/locale/cs/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/cs -%%NLS%%@dirrmtry share/locale/da/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/da -%%NLS%%@dirrmtry share/locale/de/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/de -%%NLS%%@dirrmtry share/locale/es/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/es -%%NLS%%@dirrmtry share/locale/et/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/et -%%NLS%%@dirrmtry share/locale/fr/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/fr -%%NLS%%@dirrmtry share/locale/hu/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/hu -%%NLS%%@dirrmtry share/locale/it/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/it -%%NLS%%@dirrmtry share/locale/ja/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/ja -%%NLS%%@dirrmtry share/locale/nb/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/nb -%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/pl -%%NLS%%@dirrmtry share/locale/pt/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/pt -%%NLS%%@dirrmtry share/locale/ro/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/ro -%%NLS%%@dirrmtry share/locale/ru/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/ru -%%NLS%%@dirrmtry share/locale/sv/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/sv -%%NLS%%@dirrmtry share/locale/tr/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/tr -%%NLS%%@dirrmtry share/locale/zh_CN/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/zh_CN -%%NLS%%@dirrmtry share/locale +@dirrmtry etc/xdg/autostart +@dirrmtry etc/xdg