freebsd-ports/graphics/rigsofrods-caelum/Makefile
Dmitry Marakasov f6c4ac8eb8 - Copy graphics/ogre3d to graphics/ogre3d19 and add mutual conflicts
- Switch all ogre3d consumers to ogre3d19

This allows to update ogre3d to the latest version without breaking
existing ports. The plans are also to make it possible for both ogre3d
versions to coexist.

Approved by:	oliver (discussed via private email)
2019-04-26 23:39:31 +00:00

31 lines
650 B
Makefile

# Created by: Thibault Payet <monwarez@mailoo.org>
# $FreeBSD$
PORTNAME= rigsofrods-caelum
PORTVERSION= 0.6.3
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= monwarez@mailoo.org
COMMENT= OGRE plugin for atmospheric effects
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/lgpl.txt
LIB_DEPENDS= libOgreMain.so:graphics/ogre3d19
USE_GITHUB= yes
GH_ACCOUNT= RigsOfRods
GH_PROJECT= ogre-caelum
USES= cmake dos2unix pathfix pkgconfig
CMAKE_ARGS= -DCaelum_BUILD_SAMPLES=FALSE
DOS2UNIX_GLOB= CMake* *.pc.in
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e '/install.*DOC_FILES/d' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>