2005-12-07 22:42:09 +01:00
|
|
|
# New ports collection makefile for: cairomm
|
|
|
|
# Date created: 2005-12-07
|
|
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cairomm
|
2006-03-15 06:36:49 +01:00
|
|
|
PORTVERSION= 0.5.0
|
2005-12-07 22:42:09 +01:00
|
|
|
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
|
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-12-07 22:42:09 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
2006-03-15 06:36:49 +01:00
|
|
|
USE_GMAKE= yes
|
2005-12-07 22:42:09 +01:00
|
|
|
USE_GNOME= gnomehack gnometarget
|
2006-03-15 06:36:49 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
2005-12-07 22:42:09 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
BROKEN="Does not build"
|
|
|
|
.endif
|
|
|
|
|
2006-03-15 06:36:49 +01:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
CONFIGURE_ARGS+= --disable-docs
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E '/^SUBDIRS = /s/(docs|examples)//g' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
2005-12-07 22:42:09 +01:00
|
|
|
.include <bsd.port.post.mk>
|