aboutsummaryrefslogtreecommitdiff
path: root/graphics/rigsofrods-caelum/Makefile
blob: 3ce593c284956819cffc46641bcdfe4b84153095 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Thibault Payet <monwarez@mailoo.org>

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>