freebsd-ports/graphics/cairomm/Makefile

40 lines
1,002 B
Makefile
Raw Normal View History

# 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.4.8
PORTREVISION= 4
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
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
2006-03-15 06:36:49 +01:00
USE_GMAKE= yes
USE_GNOME= gnomehack gnometarget ltverhack
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
AUTOMAKE="${TRUE}" AUTOCONF="${TRUE}" DOXYGEN="${TRUE}"
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
2006-04-08 07:03:45 +02:00
.else
post-configure:
@${TOUCH} -f ${WRKSRC}/docs/reference/html/index.html
2006-03-15 06:36:49 +01:00
.endif
.include <bsd.port.mk>