blob: f6aac114f9389706ad288836dd2405ef82350964 (
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
37
38
39
40
41
42
43
44
|
# New ports collection makefile for: cairomm
# Date created: 2005-12-07
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/graphics/cairomm/Makefile,v 1.2 2006/07/06 04:40:56 ahze Exp $
#
PORTNAME= cairomm
PORTVERSION= 1.2.0
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/releases/
MAINTAINER= gnome@FreeBSD.org
COMMENT= C++ interface to cairo
LIB_DEPENDS= xml\\+\\+-2.6:${PORTSDIR}/textproc/libxml++26 \
cairo.2:${PORTSDIR}/graphics/cairo
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_GMAKE= yes
USE_GNOME= gnomehack gnometarget
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
AUTOMAKE="${TRUE}" AUTOCONF="${TRUE}" DOXYGEN="${TRUE}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Does not build
.endif
.if defined(NOPORTDOCS)
CONFIGURE_ARGS+= --disable-docs
post-patch:
@${REINPLACE_CMD} -E '/^SUBDIRS = /s/(docs|examples)//g' ${WRKSRC}/Makefile.in
.else
post-configure:
@${TOUCH} -f ${WRKSRC}/docs/reference/html/index.html
.endif
.include <bsd.port.post.mk>
|