From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 4 01:50:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1A96C394 for ; Tue, 4 Jun 2013 01:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id F2FD51237 for ; Tue, 4 Jun 2013 01:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r541o0SM002362 for ; Tue, 4 Jun 2013 01:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r541o00J002361; Tue, 4 Jun 2013 01:50:00 GMT (envelope-from gnats) Resent-Date: Tue, 4 Jun 2013 01:50:00 GMT Resent-Message-Id: <201306040150.r541o00J002361@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, nemysis Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4B6A02EA for ; Tue, 4 Jun 2013 01:48:29 +0000 (UTC) (envelope-from nemysis@gmx.ch) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by mx1.freebsd.org (Postfix) with ESMTP id D33F01226 for ; Tue, 4 Jun 2013 01:48:28 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.12]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MHuiJ-1Ug6vG0TRF-003hmw for ; Tue, 04 Jun 2013 03:48:27 +0200 Received: (qmail invoked by alias); 04 Jun 2013 01:48:26 -0000 Received: from 5-80.77-83.cust.bluewin.ch (EHLO something.email.com) [83.77.80.5] by mail.gmx.net (mp012) with SMTP; 04 Jun 2013 03:48:26 +0200 Received: by something.email.com (sSMTP sendmail emulation); Tue, 04 Jun 2013 03:48:25 +0200 Message-Id: <20130604014829.4B6A02EA@hub.freebsd.org> Date: Tue, 04 Jun 2013 03:48:25 +0200 From: nemysis To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/179286: [PATCH] games/gno3dtet: Fix typo, add dependencies, NLS, OptionsNG Cc: jpaetzel@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2013 01:50:01 -0000 >Number: 179286 >Category: ports >Synopsis: [PATCH] games/gno3dtet: Fix typo, add dependencies, NLS, OptionsNG >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 04 01:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.1-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 >Description: - Fix typo - Add dependencies for pkgconfig and desktop - Add NLS Options - Add OptionsNG - Trim pkg-plist Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports) >How-To-Repeat: Build log https://redports.org/buildarchive/20130603225201-15138/ >Fix: --- gno3dtet-1.96.1_11.patch begins here --- diff -ruN /usr/ports/games/gno3dtet/Makefile ./Makefile --- /usr/ports/games/gno3dtet/Makefile 2013-06-02 18:54:27.000000000 +0200 +++ ./Makefile 2013-06-04 00:23:31.000000000 +0200 @@ -5,7 +5,7 @@ PORTVERSION= 1.96.1 PORTREVISION= 11 CATEGORIES= games gnome -MASTER_SITES= http://eseb.net/ftp/gno3dtet/ +MASTER_SITES= http://eseb.net/ftp/${PORTNAME}/ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org @@ -13,15 +13,27 @@ EXTRACT_DEPENDS=intltoolize:${PORTSDIR}/textproc/intltool -USES= pathfix +USES= desktop-file-utils pathfix pkgconfig USE_GNOME= gnomeprefix intlhack libgnomeui librsvg2 +INSTALLS_OMF= yes USE_GMAKE= yes USE_AUTOTOOLS= autoheader automake aclocal autoconf ACLOCAL_ARGS= -I m4 -I ${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal AUTOMAKE_ARGS= -a -c -f CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -INSTALLS_OMF= yes + +OPTIONS_DEFINE= NLS + +.include + +.if ${PORT_OPTIONS:MNLS} +USES+= gettext +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif run-autotools:: run-autotools-aclocal run-autotools-autoheader \ run-autotools-automake run-autotools-autoconf @@ -31,7 +43,11 @@ post-patch: @${REINPLACE_CMD} -e '/LIBTOOL/d ; \ - s|gnome-games|gno3dtet|g' ${WRKSRC}/configure.in + s|gnome-games|gno3dtet|g' ${WRKSRC}/configure.in + +.if ! ${PORT_OPTIONS:MNLS} + @${REINPLACE_CMD} -e '/^always_built_SUBDIRS/s|po||g' ${WRKSRC}/Makefile.am +.endif pre-configure: @${INSTALL_SCRIPT} ${AUTOMAKE_DIR}/mkinstalldirs ${WRKSRC} diff -ruN /usr/ports/games/gno3dtet/pkg-plist ./pkg-plist --- /usr/ports/games/gno3dtet/pkg-plist 2013-06-02 18:54:27.000000000 +0200 +++ ./pkg-plist 2013-05-21 15:25:49.000000000 +0200 @@ -3,6 +3,7 @@ share/games/gno3dtet.hof share/gnome/help/gno3dtet/C/gno3dtet.xml share/gnome/help/gno3dtet/C/legal.xml +%%NLS%%share/locale/fr/LC_MESSAGES/gno3dtet.mo share/omf/gno3dtet/gno3dtet-C.omf share/pixmaps/gno3dtet.png share/sounds/gno3dtet/danger.wav @@ -15,10 +16,9 @@ share/sounds/gno3dtet/pause.wav share/sounds/gno3dtet/score.wav share/sounds/gno3dtet/screwd.wav -share/locale/fr/LC_MESSAGES/gno3dtet.mo @dirrm share/sounds/gno3dtet @dirrm share/omf/gno3dtet @dirrm share/gnome/help/gno3dtet/C @dirrm share/gnome/help/gno3dtet -@dirrmtry share/applications @dirrmtry share/games +@dirrmtry share/applications --- gno3dtet-1.96.1_11.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: