Changeset View
Changeset View
Standalone View
Standalone View
devel/mercator/Makefile
# Created by: Janni | # Created by: Janni | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= mercator | PORTNAME= mercator | ||||
PORTVERSION= 0.3.3 | PORTVERSION= 0.3.3 | ||||
PORTREVISION= 5 | PORTREVISION= 5 | ||||
CATEGORIES= devel | CATEGORIES= devel | ||||
MASTER_SITES= SF/worldforge/Mercator%20%28terrain%20lib%29/${PORTVERSION} | MASTER_SITES= SF/worldforge/Mercator%20%28terrain%20lib%29/${PORTVERSION} | ||||
MAINTAINER= oliver@FreeBSD.org | MAINTAINER= oliver@FreeBSD.org | ||||
COMMENT= Procedural terrain library | COMMENT= Procedural terrain library | ||||
LIB_DEPENDS= libwfmath-1.0.so:math/wfmath | LIB_DEPENDS= libwfmath-1.0.so:math/wfmath | ||||
CONFIGURE_ARGS= --disable-silent-rules | |||||
USES= libtool pathfix pkgconfig compiler:c++11-lib | USES= libtool pathfix pkgconfig compiler:c++11-lib | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
CXXFLAGS+= -include wchar.h | CXXFLAGS+= -include wchar.h | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|std::lround|lround|g' ${WRKSRC}/Mercator/iround.h | @${REINPLACE_CMD} -e 's|std::lround|lround|g' ${WRKSRC}/Mercator/iround.h | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |