summaryrefslogtreecommitdiffstats
path: root/graphics/cairomm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/cairomm/Makefile')
-rw-r--r--graphics/cairomm/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/graphics/cairomm/Makefile b/graphics/cairomm/Makefile
new file mode 100644
index 000000000..c7922eb85
--- /dev/null
+++ b/graphics/cairomm/Makefile
@@ -0,0 +1,39 @@
+# 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.7 2008/03/21 21:48:49 kwm Exp $
+#
+
+PORTNAME= cairomm
+PORTVERSION= 1.5.0
+CATEGORIES= graphics
+MASTER_SITES= http://cairographics.org/releases/
+#MASTER_SITES= http://cairographics.org/snapshots/
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= C++ interface to cairo
+
+LIB_DEPENDS= xml\\+\\+-2.6:${PORTSDIR}/textproc/libxml++26 \
+ cairo.2:${PORTSDIR}/graphics/cairo
+
+USE_AUTOTOOLS= libtool:15
+USE_LDCONFIG= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnometarget ltverhack
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
+ AUTOMAKE="${TRUE}" AUTOCONF="${TRUE}" DOXYGEN="${TRUE}"
+
+.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.mk>