aboutsummaryrefslogtreecommitdiff
path: root/devel/mercator/Makefile
blob: 4b1e3ba47427619018fade217d4fa1e8286c1894 (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
# Created by: Janni
# $FreeBSD$

PORTNAME=	mercator
PORTVERSION=	0.3.3
PORTREVISION=	5
CATEGORIES=	devel
MASTER_SITES=	SF/worldforge/Mercator%20%28terrain%20lib%29/${PORTVERSION}

MAINTAINER=	oliver@FreeBSD.org
COMMENT=	Procedural terrain library

LIB_DEPENDS=	libwfmath-1.0.so:math/wfmath

USES=		libtool pathfix pkgconfig compiler:c++11-lib
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

CXXFLAGS+=	-include wchar.h

post-patch:
	@${REINPLACE_CMD} -e 's|std::lround|lround|g' ${WRKSRC}/Mercator/iround.h

.include <bsd.port.mk>