Changeset View
Standalone View
cad/sumo/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $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} | |||||
mat: The -doc- distfile should probably be in a DOCS_DISTFILES variable. | |||||
Done Inline ActionsThis is an option helper, it happens way too early. mat: This is an option helper, it happens way too early. | |||||
Done Inline ActionsI am not sure referencing the PR is a good idea, as it is not a bug, it is documented that way, and it cannot work any other way. mat: I am not sure referencing the PR is a good idea, as it is not a bug, it is documented that way… | |||||
Done Inline ActionsRemoved. yuri: Removed. | |||||
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 | |||||
Done Inline ActionsThis should probably be find -d so that recursively empty directories are detected. mat: This should probably be `find -d` so that recursively empty directories are detected. | |||||
Done Inline ActionsThis should probably be done with USES=shebangfix. mat: This should probably be done with USES=shebangfix. | |||||
Done Inline ActionsDOCS_SHEBANG_FILES doesn't work. So I will have to put SHEBANG_FILES= docs/tutorial/*/*.py into the option helpers section. Do you still want me to do this? yuri: `DOCS_SHEBANG_FILES` doesn't work. So I will have to put `SHEBANG_FILES= docs/tutorial/*/*.py`… | |||||
Done Inline ActionsPlease see the * (Any variable) bit of the list in 5.13.3. Options Helpers to learn how to deal with variables only needed by options. mat: Please see the `* (Any variable)` bit of the list in [[ https://www.freebsd. | |||||
Done Inline ActionsThanks! yuri: Thanks! | |||||
.include <bsd.port.pre.mk> | |||||
Done Inline ActionsThis is probably wrong. To install files in STAGEDIR, you must use the INSTALL_* or COPYTREE_* macros so that the rights are correct. mat: This is probably wrong. To install files in STAGEDIR, you must use the `INSTALL_*` or… | |||||
Done Inline Actions^ why is this comment still here? tcberner: ^ why is this comment still here? | |||||
.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> |
The -doc- distfile should probably be in a DOCS_DISTFILES variable.