aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libclaw/Makefile
blob: da75da1ef70203d921de08964e903bbd5e18e5f0 (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
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$

PORTNAME=   libclaw
PORTVERSION=    1.7.2
CATEGORIES= devel
MASTER_SITES=   SF

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    C++ Library Absolutely Wonderful

LIB_DEPENDS=    jpeg:${PORTSDIR}/graphics/jpeg \
        png15:${PORTSDIR}/graphics/png
BUILD_DEPENDS=  ${LOCALBASE}/include/boost/bind.hpp:${PORTSDIR}/devel/boost-libs

USES=       cmake
CMAKE_ARGS= -DCLAW_CMAKE_MODULES_INSTALL_PATH="${DATADIR}/cmake"
USE_LDCONFIG=   yes
MAKE_JOBS_SAFE= yes
USE_GETTEXT=    yes
USE_GCC=    4.6+

post-patch:
    @${REINPLACE_CMD} -e '/subdirs/ s|doc||' ${WRKSRC}/CMakeLists.txt
    @${REINPLACE_CMD} -e '/install.*COPYING/ d' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>