Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 13:26:35 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334415 - in head/games/fgrun: . files
Message-ID:  <201311201326.rAKDQZtJ007924@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Wed Nov 20 13:26:34 2013
New Revision: 334415
URL: http://svnweb.freebsd.org/changeset/ports/334415

Log:
  - Update to 1.7.0
  - Update MASTER_SITES
  - Add LICENSE
  - Use new LIB_DEPENDS format
  - Update USES
  - Enable staging
  - Use new OPTIONS framework
  
  Submitted by: Buganini <buganini@gmail.com> (maintainer)

Added:
  head/games/fgrun/files/patch-src-CMakeLists.txt   (contents, props changed)
Deleted:
  head/games/fgrun/files/patch-src-Makefile.in
Modified:
  head/games/fgrun/Makefile
  head/games/fgrun/distinfo   (contents, props changed)
  head/games/fgrun/pkg-plist   (contents, props changed)

Modified: head/games/fgrun/Makefile
==============================================================================
--- head/games/fgrun/Makefile	Wed Nov 20 13:10:40 2013	(r334414)
+++ head/games/fgrun/Makefile	Wed Nov 20 13:26:34 2013	(r334415)
@@ -2,41 +2,38 @@
 # $FreeBSD$
 
 PORTNAME=	fgrun
-PORTVERSION=	1.6.0
-PORTREVISION=	2
+PORTVERSION=	1.7.0
 CATEGORIES=	games
-MASTER_SITES=	SF
+MASTER_SITES=	https://gitorious.org/${GO_ACCOUNT}/${GO_PROJECT}/archive/${GO_TAGNAME}.tar.gz?dummy=
 
 MAINTAINER=	buganini@gmail.com
 COMMENT=	A graphical frontend to run FlightGear Flight Simulator
 
-LIB_DEPENDS=	fltk.1:${PORTSDIR}/x11-toolkits/fltk \
-		osg.80:${PORTSDIR}/graphics/osg
-BUILD_DEPENDS=	simgear>=2.4.0:${PORTSDIR}/devel/simgear \
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	libfltk.so:${PORTSDIR}/x11-toolkits/fltk \
+		libosg.so:${PORTSDIR}/graphics/osg
+BUILD_DEPENDS=	simgear>=2.10.0:${PORTSDIR}/devel/simgear \
 		${LOCALBASE}/include/boost/version.hpp:${PORTSDIR}/devel/boost-libs
-RUN_DEPENDS=	simgear>=2.4.0:${PORTSDIR}/devel/simgear \
+RUN_DEPENDS=	simgear>=2.10.0:${PORTSDIR}/devel/simgear \
 		fgfs:${PORTSDIR}/games/flightgear
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-boost="${LOCALBASE}"
-USE_GMAKE=	yes
-USE_GL=		gl
+WRKSRC=		${WRKDIR}/${GO_ACCOUNT}-${GO_PROJECT}
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+CMAKE_ARGS+=	-DLIB_DIR=${PREFIX}/lib
+
+USE_GCC=	yes
+USES=		cmake
+USE_GL=		gl
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-PLIST_SUB+=	NLS="@comment "
-CONFIGURE_ARGS+=	--disable-nls
-.endif
-
-post-patch:
-.if ! ${PORT_OPTIONS:MNLS}
-	@${REINPLACE_CMD} 's|SUBDIRS = src po msvc|SUBDIRS = src|' \
-		${WRKSRC}/Makefile.in
-.endif
+GO_ACCOUNT=	fg
+GO_PROJECT=	fgrun
+GO_TAGNAME=	90e936c01e28feac4a9c3e28d5227980fb8f1e1d
+FETCH_ARGS?=	-o ${DISTDIR}/${DISTFILES}
+
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
+NLS_USES=	gettext
+NLS_CMAKE_ON=	-DENABLE_NLS=yes
 
 .include <bsd.port.mk>

Modified: head/games/fgrun/distinfo
==============================================================================
--- head/games/fgrun/distinfo	Wed Nov 20 13:10:40 2013	(r334414)
+++ head/games/fgrun/distinfo	Wed Nov 20 13:26:34 2013	(r334415)
@@ -1,2 +1,2 @@
-SHA256 (fgrun-1.6.0.tar.gz) = 67213a9e66a5e66a73f2f00ff4e3101d41289de3ea08058df6899c958c3abe31
-SIZE (fgrun-1.6.0.tar.gz) = 414876
+SHA256 (fgrun-1.7.0.tar.gz) = 768d2c5353e6260d1b5625781f66cd46f8fff9f8f1607ba1bd370c778193900c
+SIZE (fgrun-1.7.0.tar.gz) = 187221

Added: head/games/fgrun/files/patch-src-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/fgrun/files/patch-src-CMakeLists.txt	Wed Nov 20 13:26:34 2013	(r334415)
@@ -0,0 +1,18 @@
+--- CMakeLists.txt.orig	2013-11-18 06:56:58.000000000 +0800
++++ CMakeLists.txt	2013-11-18 06:57:32.000000000 +0800
+@@ -138,7 +138,6 @@
+ 
+ if (ENABLE_NLS AND GETTEXT_FOUND)
+ 
+-    if (MSVC)
+         FIND_LIBRARY(INTL_LIBRARY
+           NAMES intl
+           HINTS
+@@ -154,7 +153,6 @@
+         if (NOT INTL_LIBRARY)
+             set( ENABLE_NLS 0 )
+         endif (NOT INTL_LIBRARY)
+-    endif (MSVC)
+ 
+ 	if (ENABLE_NLS)
+ 		set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DENABLE_NLS")

Modified: head/games/fgrun/pkg-plist
==============================================================================
--- head/games/fgrun/pkg-plist	Wed Nov 20 13:10:40 2013	(r334414)
+++ head/games/fgrun/pkg-plist	Wed Nov 20 13:26:34 2013	(r334415)
@@ -6,17 +6,3 @@ bin/fgrun
 %%NLS%%share/locale/nl/LC_MESSAGES/fgrun.mo
 %%NLS%%share/locale/pl/LC_MESSAGES/fgrun.mo
 %%NLS%%share/locale/pt/LC_MESSAGES/fgrun.mo
-%%NLS%%@dirrmtry share/locale/de/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/es/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/fr/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/it/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/nl/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/pt/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/de
-%%NLS%%@dirrmtry share/locale/es
-%%NLS%%@dirrmtry share/locale/fr
-%%NLS%%@dirrmtry share/locale/it
-%%NLS%%@dirrmtry share/locale/nl
-%%NLS%%@dirrmtry share/locale/pl
-%%NLS%%@dirrmtry share/locale/pt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311201326.rAKDQZtJ007924>