freebsd-ports/graphics/wdune/Makefile
Mark Linimon e6b4a5d290 Add compiler:c++11-lang to USES to fix build on GCC-based systems:
.//../vcglib/vcg/space/index/spatial_hashing.h:29:24: error: unordered_map: No such file or directory

Approved by:	portmgr (tier-2 blanket)
2020-07-21 17:52:07 +00:00

48 lines
1.3 KiB
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= wdune
PORTVERSION= 1.926
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.ourproject.org/pub/wdune/
MAINTAINER= pi@FreeBSD.org
COMMENT= Graphical VRML97 editor and animation tool
LICENSE= GPLv2
BUILD_DEPENDS= cgal>0:math/cgal
LIB_DEPENDS= libcurl.so:ftp/curl \
libexpat.so:textproc/expat2 \
libfreetype.so:print/freetype2 \
libgmp.so:math/gmp \
libmpfr.so:math/mpfr \
libosdCPU.so:graphics/opensubdiv \
libpng.so:graphics/png \
libswresample.so:multimedia/ffmpeg
USES= compiler:c++11-lang gl jpeg motif sdl tar:bzip2 xorg
USE_XORG= x11 xft xi xmu xext xt
USE_GL= gl glu glut
USE_SDL= sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-optimization \
--without-devil \
--with-cgalheaders \
--with-helpurl="${DOCSDIR}/index.html"
CPPFLAGS+= -I${LOCALBASE}/include/freetype2 -D__FREEBSD__
LDFLAGS+= -L${LOCALBASE}/lib
ALL_TARGET= dune
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/dune ${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} dune4kids illegal2vrml \
${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC}/man && ${INSTALL_MAN} dune.1 illegal2vrml.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
do-install-DOCS-on:
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>