1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/devel/eggdbus/Makefile
Joe Marcus Clarke 0e97a791ea Fix the build with 6.X.
Feature safe:	yes
2010-02-27 23:08:28 +00:00

43 lines
1.1 KiB
Makefile

# New ports collection makefile for: eggdbus
# Date Created: 30 Juli 2009
# Whom: Koop Mast<kwm@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/devel/eggdbus/Makefile,v 1.3 2009/11/24 01:46:27 marcus Exp $
#
PORTNAME= eggdbus
PORTVERSION= 0.6
CATEGORIES= devel
MASTER_SITES= http://hal.freedesktop.org/releases/
MAINTAINER= gnome@FreeBSD.org
COMMENT= D-Bus bindings for GObject
LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
USE_GNOME= pkgconfig glib20 gnomehack
USE_GMAKE= yes
MAKE_JOBS_UNSAFE=yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --localstatedir=/var
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(NO_INSTALL_MANPAGES)
CONFIGURE_ARGS+=--disable-man-pages
.else
BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1/dtd/catalog:${PORTSDIR}/textproc/docbook-410 \
xsltproc:${PORTSDIR}/textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
MAN1= eggdbus-binding-tool.1
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-Wl,--as-needed||' \
${WRKSRC}/configure
.include <bsd.port.mk>