Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 2017 19:20:35 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455420 - in head/cad: . sumo
Message-ID:  <201712031920.vB3JKZEE021002@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Dec  3 19:20:35 2017
New Revision: 455420
URL: https://svnweb.freebsd.org/changeset/ports/455420

Log:
  New port: cad/sumo: Traffic simulation suite for road vehicles, public transportation, etc
  
  PR:		193884
  Submitted by:	Enrique Fynn <me@enriquefynn.com>
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D13248

Added:
  head/cad/sumo/
  head/cad/sumo/Makefile   (contents, props changed)
  head/cad/sumo/distinfo   (contents, props changed)
  head/cad/sumo/pkg-descr   (contents, props changed)
  head/cad/sumo/pkg-plist   (contents, props changed)
Modified:
  head/cad/Makefile

Modified: head/cad/Makefile
==============================================================================
--- head/cad/Makefile	Sun Dec  3 18:02:41 2017	(r455419)
+++ head/cad/Makefile	Sun Dec  3 19:20:35 2017	(r455420)
@@ -86,6 +86,7 @@
     SUBDIR += sp2sp
     SUBDIR += spice
     SUBDIR += stepcode
+    SUBDIR += sumo
     SUBDIR += sweethome3d
     SUBDIR += tkgate
     SUBDIR += tochnog

Added: head/cad/sumo/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/sumo/Makefile	Sun Dec  3 19:20:35 2017	(r455420)
@@ -0,0 +1,53 @@
+# $FreeBSD$
+
+PORTNAME=	sumo
+DISTVERSION=	0.31.0
+CATEGORIES=	cad
+MASTER_SITES=	http://www.dlr.de/ts/en/Portaldata/16/Resources/projekte/sumo/
+DISTFILES=	${PORTNAME}-src-${DISTVERSIONFULL}${EXTRACT_SUFX}
+
+MAINTAINER=	enriquefynn@gmail.com
+COMMENT=	Traffic simulation suite for road vehicles, public transportation, etc
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
+		libFOX-1.6.so:x11-toolkits/fox16 \
+		libfreetype.so:print/freetype2 \
+		libgdal.so:graphics/gdal \
+		libpng16.so:graphics/png \
+		libproj.so:graphics/proj \
+		libtiff.so:graphics/tiff \
+		libxerces-c.so:textproc/xerces-c3
+
+USES=		jpeg zip
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-proj-gdal=${LOCALBASE} \
+		--with-xerces-libraries=${LOCALBASE}/lib \
+		--disable-debug
+USE_GL=		gl glu
+USE_XORG=	x11 xcursor xext xfixes xft xi xrandr xrender
+
+OPTIONS_DEFINE=	DOCS # the GUI option is possible (--without-fox-config), but it is broken, and it doesn't seem important to have. https://github.com/DLR-TS/sumo/issues/3655
+
+DOCS_DISTFILES=	${PORTNAME}-doc-${DISTVERSION}${EXTRACT_SUFX}
+DOCS_USES=	shebangfix
+DOCS_VARS=	SHEBANG_FILES=docs/tutorial/*/*.py
+
+PORTDOCS=	*
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+	@${FIND} ${STAGEDIR}${DOCSDIR} -d -empty -delete
+
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
+BUILD_DEPENDS+=	clang40:devel/llvm40
+CC=		clang40
+CXX=		clang++40 # fails to build with the default compiler on 10
+.endif
+
+.include <bsd.port.post.mk>

Added: head/cad/sumo/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/sumo/distinfo	Sun Dec  3 19:20:35 2017	(r455420)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1512078820
+SHA256 (sumo-src-0.31.0.zip) = ae9d71079439d4fb2b97023d8d50003c3b0756b00a836a20abede8c77e5e213c
+SIZE (sumo-src-0.31.0.zip) = 18515639
+SHA256 (sumo-doc-0.31.0.zip) = 25c0471461cf39fb38ab19f1db397969add088630470ea8ed6cc7685f88efcd4
+SIZE (sumo-doc-0.31.0.zip) = 72064786

Added: head/cad/sumo/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/sumo/pkg-descr	Sun Dec  3 19:20:35 2017	(r455420)
@@ -0,0 +1,5 @@
+Simulation of Urban MObility (SUMO) is an open source, highly portable, 
+microscopic and continuous road traffic simulation package designed to handle
+large road networks.
+
+WWW: http://sumo-sim.org

Added: head/cad/sumo/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/sumo/pkg-plist	Sun Dec  3 19:20:35 2017	(r455420)
@@ -0,0 +1,15 @@
+bin/TraCITestClient
+bin/activitygen
+bin/dfrouter
+bin/duarouter
+bin/emissionsDrivingCycle
+bin/emissionsMap
+bin/jtrrouter
+bin/marouter
+bin/netconvert
+bin/netedit
+bin/netgenerate
+bin/od2trips
+bin/polyconvert
+bin/sumo
+bin/sumo-gui



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