From owner-svn-ports-all@FreeBSD.ORG Fri Nov 1 21:26:33 2013 Return-Path: Delivered-To: svn-ports-all@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 880CAFF3; Fri, 1 Nov 2013 21:26:33 +0000 (UTC) (envelope-from danilo@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 753342973; Fri, 1 Nov 2013 21:26:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA1LQXbn058935; Fri, 1 Nov 2013 21:26:33 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA1LQWxc058932; Fri, 1 Nov 2013 21:26:32 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311012126.rA1LQWxc058932@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Fri, 1 Nov 2013 21:26:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332410 - head/cad/repsnapper 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: Fri, 01 Nov 2013 21:26:33 -0000 Author: danilo Date: Fri Nov 1 21:26:32 2013 New Revision: 332410 URL: http://svnweb.freebsd.org/changeset/ports/332410 Log: - Update from 2.2.0b3 to 2.3.0a4 - Use options helpers - Add stage support PR: ports/182887 Submitted by: Martin Dieringer (maintainer) Modified: head/cad/repsnapper/Makefile head/cad/repsnapper/distinfo head/cad/repsnapper/pkg-plist Modified: head/cad/repsnapper/Makefile ============================================================================== --- head/cad/repsnapper/Makefile Fri Nov 1 21:21:40 2013 (r332409) +++ head/cad/repsnapper/Makefile Fri Nov 1 21:26:32 2013 (r332410) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= repsnapper -PORTVERSION= 2.2.0b3 -PORTREVISION= 1 +PORTVERSION= 2.3.0a4 CATEGORIES= cad MASTER_SITES= https://codeload.github.com/timschmidt/repsnapper/tar.gz/ DISTNAME= ${PORTVERSION} @@ -41,17 +40,12 @@ USE_GL= gl USE_AUTOTOOLS= automake libtool USE_XORG= ice pixman sm x11 xau xcb xcomposite xcursor xdamage xdmcp \ xext xfixes xi xinerama xmu xrandr xrender xt xxf86vm +INSTALLS_ICONS= yes -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} INSTALL_TARGET= install-strip @@ -67,12 +61,9 @@ post-configure: ${WRKSRC}/po/Makefile post-install: - ${MKDIR} ${PREFIX}/etc/xdg/repsnapper + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/repsnapper ${INSTALL_DATA} ${WRKSRC}/src/repsnapper.conf \ - ${PREFIX}/etc/xdg/repsnapper/repsnapper.conf.sample - @if [ ! -f ${PREFIX}/etc/xdg/repsnapper/repsnapper.conf ]; then \ - ${CP} -p ${PREFIX}/etc/xdg/repsnapper/repsnapper.conf.sample \ - ${PREFIX}/etc/xdg/repsnapper/repsnapper.conf ; \ - fi + ${STAGEDIR}${PREFIX}/etc/xdg/repsnapper/repsnapper.conf.sample + .include Modified: head/cad/repsnapper/distinfo ============================================================================== --- head/cad/repsnapper/distinfo Fri Nov 1 21:21:40 2013 (r332409) +++ head/cad/repsnapper/distinfo Fri Nov 1 21:26:32 2013 (r332410) @@ -1,2 +1,2 @@ -SHA256 (repsnapper/2.2.0b3) = 2f55ce6bc19bba84bb6dbcda12f6546fa306fa163527d009ea8d730b85d80513 -SIZE (repsnapper/2.2.0b3) = 1314244 +SHA256 (repsnapper/2.3.0a4) = 5ec82eb6ea7db06d4d8acc82f3e3b01fdee5bf9006880ec34fe244dc96420d53 +SIZE (repsnapper/2.3.0a4) = 1310808 Modified: head/cad/repsnapper/pkg-plist ============================================================================== --- head/cad/repsnapper/pkg-plist Fri Nov 1 21:21:40 2013 (r332409) +++ head/cad/repsnapper/pkg-plist Fri Nov 1 21:26:32 2013 (r332410) @@ -1,14 +1,14 @@ bin/repsnapper @unexec if cmp -s %D/etc/xdg/repsnapper/repsnapper.conf.sample %D/etc/xdg/repsnapper/repsnapper.conf; then rm -f %D/etc/xdg/repsnapper/repsnapper.conf; fi etc/xdg/repsnapper/repsnapper.conf.sample -@exec if [ ! -f %D/etc/xdg/repsnapper/repsnapper.conf ] ; then cp -p %D/%F %B/xdg/repsnapper/repsnapper.conf; fi +@exec if [ ! -f %D/etc/xdg/repsnapper/repsnapper.conf ] ; then cp -p %D/%F %B/repsnapper.conf; fi share/applications/repsnapper.desktop -share/locale/en_GB/LC_MESSAGES/repsnapper.mo -share/locale/de_DE/LC_MESSAGES/repsnapper.mo -share/repsnapper/repsnapper.ui -share/repsnapper/repsnapper.svg +%%NLS%%share/locale/en_GB/LC_MESSAGES/repsnapper.mo +%%NLS%%share/locale/de_DE/LC_MESSAGES/repsnapper.mo +%%DATADIR%%/repsnapper.ui +%%DATADIR%%/repsnapper.svg share/icons/hicolor/scalable/apps/repsnapper.svg @dirrmtry etc/xdg/repsnapper -@dirrmtry share/locale/de_DE/LC_MESSAGES -@dirrmtry share/locale/de_DE -@dirrm share/repsnapper +%%NLS%%@dirrmtry share/locale/de_DE/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/de_DE +@dirrm %%DATADIR%%