View | Details | Raw Unified | Return to bug 224005
Collapse All | Expand All

(-)cad/sumo/Makefile (+55 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	sumo
4
DISTVERSION=	0.31.0
5
CATEGORIES=	cad
6
MASTER_SITES=	http://www.dlr.de/ts/en/Portaldata/16/Resources/projekte/sumo/
7
DISTNAME=	${PORTNAME}-src-${DISTVERSIONFULL}
8
#DISTFILES=	${PORTNAME}-src-${DISTVERSIONFULL}${EXTRACT_SUFX}
9
10
MAINTAINER=	enriquefynn@gmail.com
11
COMMENT=	Traffic simulation suite for road vehicles, public transportation, etc
12
13
LICENSE=	GPLv3
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
16
LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
17
		libFOX-1.6.so:x11-toolkits/fox16 \
18
		libfreetype.so:print/freetype2 \
19
		libgdal.so:graphics/gdal \
20
		libpng16.so:graphics/png \
21
		libproj.so:graphics/proj \
22
		libtiff.so:graphics/tiff \
23
		libxerces-c.so:textproc/xerces-c3
24
25
USES=		jpeg zip
26
GNU_CONFIGURE=	yes
27
CONFIGURE_ARGS=	--with-proj-gdal=${LOCALBASE} \
28
		--with-xerces-libraries=${LOCALBASE}/lib
29
USE_GL=		gl glu
30
USE_XORG=	x11 xcursor xext xfixes xft xi xrandr xrender
31
32
OPTIONS_DEFINE=	DEBUG 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
33
34
DEBUG_CONFIGURE_ENABLE=	debug
35
DOCS_DISTFILES=	${PORTNAME}-doc-${DISTVERSION}${EXTRACT_SUFX}
36
DOCS_USES=	shebangfix
37
DOCS_VARS=	SHEBANG_FILES=docs/tutorial/*/*.py
38
39
PORTDOCS=	*
40
41
do-install-DOCS-on:
42
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
43
	@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
44
	@${FIND} ${STAGEDIR}${DOCSDIR} -d -empty -delete
45
	#@${REINPLACE_CMD} -i '' -e 's|#!/usr/bin/env python|#!${PYTHON_CMD}|' ${STAGEDIR}${DOCSDIR}/tutorial/*/*.py
46
47
.include <bsd.port.pre.mk>
48
49
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
50
BUILD_DEPENDS+=	clang40:devel/llvm40
51
CC=		clang40
52
CXX=		clang++40 # fails to build with the default compiler on 10
53
.endif
54
55
.include <bsd.port.post.mk>
(-)cad/sumo/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1511989733
2
SHA256 (sumo-doc-0.31.0.zip) = 25c0471461cf39fb38ab19f1db397969add088630470ea8ed6cc7685f88efcd4
3
SIZE (sumo-doc-0.31.0.zip) = 72064786
(-)cad/sumo/pkg-descr (+5 lines)
Line 0 Link Here
1
Simulation of Urban MObility (SUMO) is an open source, highly portable, 
2
microscopic and continuous road traffic simulation package designed to handle
3
large road networks.
4
5
WWW: http://sumo-sim.org
(-)cad/sumo/pkg-plist (+15 lines)
Line 0 Link Here
1
bin/TraCITestClient
2
bin/activitygen
3
bin/dfrouter
4
bin/duarouter
5
bin/emissionsDrivingCycle
6
bin/emissionsMap
7
bin/jtrrouter
8
bin/marouter
9
bin/netconvert
10
bin/netedit
11
bin/netgenerate
12
bin/od2trips
13
bin/polyconvert
14
bin/sumo
15
bin/sumo-gui

Return to bug 224005