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$
|
2008-03-24 04:52:36 +01:00
|
|
|
# $MCom: ports/graphics/cairomm/Makefile,v 1.7 2008/03/21 21:48:49 kwm Exp $
|
2005-12-07 22:42:09 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cairomm
|
2008-03-24 04:52:36 +01:00
|
|
|
PORTVERSION= 1.4.8
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 4
|
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
|
|
|
|
|
2008-03-24 04:52:36 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2006-10-14 10:54:54 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-03-15 06:36:49 +01:00
|
|
|
USE_GMAKE= yes
|
2008-03-24 04:52:36 +01:00
|
|
|
USE_GNOME= gnomehack gnometarget ltverhack
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2006-10-14 10:54:54 +02:00
|
|
|
AUTOMAKE="${TRUE}" AUTOCONF="${TRUE}" DOXYGEN="${TRUE}"
|
2005-12-07 22:42:09 +01:00
|
|
|
|
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
|
|
|
|
|
2007-10-04 03:14:50 +02:00
|
|
|
.include <bsd.port.mk>
|