aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/cairomm/Makefile
blob: 73a10c6f809034f6c49ab5d6cb8d7c4437594e5a (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
31
32
33
34
35
36
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/graphics/cairomm/Makefile,v 1.19 2011/06/07 14:00:26 kwm Exp $

PORTNAME=   cairomm
PORTVERSION=    1.10.0
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   http://cairographics.org/releases/

MAINTAINER= gnome@FreeBSD.org
COMMENT=    C++ interface to cairo

LICENSE=    LGPL20
LICENSE_FILE=   ${WRKSRC}/COPYING

GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
USES=       gmake libtool pathfix pkgconfig
USE_GNOME=  cairo libxml++26
CONFIGURE_ENV=  AUTOMAKE="${TRUE}" AUTOCONF="${TRUE}" DOXYGEN="${TRUE}"
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

.if defined(NOPORTDOCS)
CONFIGURE_ARGS+=    --disable-documentation

.else
post-configure:
    @${TOUCH} -f ${WRKSRC}/docs/reference/html/index.html
.endif

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcairomm-1.0.so.1.4.0

.include <bsd.port.mk>