From owner-svn-ports-head@FreeBSD.ORG Thu Nov 7 18:39:28 2013 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 ESMTP id D67C2859; Thu, 7 Nov 2013 18:39:28 +0000 (UTC) (envelope-from nemysis@FreeBSD.org) 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 C3B972488; Thu, 7 Nov 2013 18:39:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA7IdSWd006033; Thu, 7 Nov 2013 18:39:28 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA7IdSSS006031; Thu, 7 Nov 2013 18:39:28 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201311071839.rA7IdSSS006031@svn.freebsd.org> From: Rusmir Dusko Date: Thu, 7 Nov 2013 18:39:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333146 - head/misc/gonvert 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.14 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: Thu, 07 Nov 2013 18:39:29 -0000 Author: nemysis Date: Thu Nov 7 18:39:28 2013 New Revision: 333146 URL: http://svnweb.freebsd.org/changeset/ports/333146 Log: - Update to 0.2.34 - Change maintainer email to @FreeBSD.org - Add DOCS and NLS Options - Support STAGEDIR and add OPTIONS_SUB Approved by: pawel / wg (mentors, implicit) Modified: head/misc/gonvert/Makefile head/misc/gonvert/distinfo Modified: head/misc/gonvert/Makefile ============================================================================== --- head/misc/gonvert/Makefile Thu Nov 7 17:56:46 2013 (r333145) +++ head/misc/gonvert/Makefile Thu Nov 7 18:39:28 2013 (r333146) @@ -2,11 +2,11 @@ # $FreeBSD$ PORTNAME= gonvert -PORTVERSION= 0.2.33 +PORTVERSION= 0.2.34 CATEGORIES= misc python gnome MASTER_SITES= http://www.unihedron.com/projects/gonvert/downloads/ -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= Conversion utility that allows conversion between many units LICENSE= GPLv2 @@ -17,15 +17,14 @@ NO_BUILD= yes PORTDOCS= CHANGELOG FAQ README THANKS TODO -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS NLS -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -.endif +OPTIONS_SUB= yes + +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext + +.include post-patch: @${REINPLACE_CMD} -e 's|#!/usr/bin/python|#!/usr/bin/env python|g ; \ @@ -33,23 +32,22 @@ post-patch: s|/\.\./pixmaps/|/pixmaps/|g' ${WRKSRC}/gonvert do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/gonvert ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/gonvert.desktop ${PREFIX}/share/applications - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/gonvert.glade ${DATADIR} - @${MKDIR} ${DATADIR}/pixmaps - ${INSTALL_DATA} ${WRKSRC}/pixmaps/*.png ${DATADIR}/pixmaps - ${LN} -sf ${DATADIR}/pixmaps/gonvert.png ${PREFIX}/share/pixmaps + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + @${MKDIR} ${STAGEDIR}${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.glade ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR}/pixmaps + ${INSTALL_DATA} ${WRKSRC}/pixmaps/*.png ${STAGEDIR}${DATADIR}/pixmaps/ + ${LN} -sf ${DATADIR}/pixmaps/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ .if ${PORT_OPTIONS:MNLS} - @${MKDIR} ${PREFIX}/share/locale/pl/LC_MESSAGES + @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/pl/LC_MESSAGES ${INSTALL_DATA} ${WRKSRC}/i18n/pl_messages.gmo \ - ${PREFIX}/share/locale/pl/LC_MESSAGES/gonvert.mo + ${STAGEDIR}${PREFIX}/share/locale/pl/LC_MESSAGES/gonvert.mo .endif -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} .include Modified: head/misc/gonvert/distinfo ============================================================================== --- head/misc/gonvert/distinfo Thu Nov 7 17:56:46 2013 (r333145) +++ head/misc/gonvert/distinfo Thu Nov 7 18:39:28 2013 (r333146) @@ -1,2 +1,2 @@ -SHA256 (gonvert-0.2.33.tar.gz) = 64bca246019e3704912a962f7d8f54bfadca78b746d8b08935c7ed456af52c27 -SIZE (gonvert-0.2.33.tar.gz) = 124208 +SHA256 (gonvert-0.2.34.tar.gz) = deed2542bed898f1202b6e9a55f7bbd27714ffb94985c0cdf034823bfb2832f4 +SIZE (gonvert-0.2.34.tar.gz) = 124341