2012-09-27 15:51:15 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.40 2012/09/27 15:51:15 ajacoutot Exp $
|
2006-11-10 18:46:10 +00:00
|
|
|
|
2007-09-15 20:04:18 +00:00
|
|
|
COMMENT= glib bindings for dbus message system
|
2006-11-10 18:46:10 +00:00
|
|
|
|
2012-07-05 07:20:06 +00:00
|
|
|
DISTNAME= dbus-glib-0.100
|
2012-09-27 15:51:15 +00:00
|
|
|
REVISION= 1
|
2010-07-30 06:58:57 +00:00
|
|
|
EPOCH= 0
|
2009-10-10 14:31:24 +00:00
|
|
|
|
2012-07-05 07:20:06 +00:00
|
|
|
SHARED_LIBS+= dbus-glib-1 4.3 # .4.2
|
2009-10-14 17:59:49 +00:00
|
|
|
|
2006-11-10 18:46:10 +00:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
2010-09-06 07:35:47 +00:00
|
|
|
HOMEPAGE= http://www.freedesktop.org/wiki/Software/DBusBindings/
|
2006-11-10 18:46:10 +00:00
|
|
|
|
2010-07-02 18:01:53 +00:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2008-10-12 22:09:20 +00:00
|
|
|
# GPLv2+
|
2006-11-10 18:46:10 +00:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2008-02-01 21:38:26 +00:00
|
|
|
|
2011-06-03 16:55:16 +00:00
|
|
|
WANTLIB += c dbus-1 expat gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
2011-09-29 06:58:13 +00:00
|
|
|
WANTLIB += gthread-2.0 pcre pthread z ffi
|
2006-11-10 18:46:10 +00:00
|
|
|
|
2010-09-06 10:50:39 +00:00
|
|
|
MASTER_SITES= http://dbus.freedesktop.org/releases/dbus-glib/
|
2006-11-10 18:46:10 +00:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
2011-06-03 16:55:16 +00:00
|
|
|
LIB_DEPENDS= x11/dbus>=1.4.10v0 \
|
2010-11-22 08:36:47 +00:00
|
|
|
devel/glib2
|
2006-11-10 18:46:10 +00:00
|
|
|
|
2012-03-29 13:38:12 +00:00
|
|
|
SEPARATE_BUILD= Yes
|
2006-11-10 18:46:10 +00:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
2009-03-23 10:05:36 +00:00
|
|
|
|
2006-11-10 18:46:10 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
2009-03-23 10:05:36 +00:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-bash-completion \
|
2012-07-05 07:20:06 +00:00
|
|
|
--disable-gtk-doc \
|
2009-03-23 10:05:36 +00:00
|
|
|
--with-test-socket-dir=${WRKDIR}
|
2008-10-12 22:09:20 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2006-11-10 18:46:10 +00:00
|
|
|
|
2012-09-21 14:48:05 +00:00
|
|
|
# If one of these tools is found at configure stage, it might be used,
|
|
|
|
# no matter whether we use --disable-gtk-doc or not.
|
|
|
|
CONFIGURE_ENV +=ac_cv_path_GTKDOC_CHECK="" \
|
|
|
|
ac_cv_path_GTKDOC_REBASE="" \
|
|
|
|
ac_cv_path_GTKDOC_MKPDF=""
|
|
|
|
|
2012-09-27 15:51:15 +00:00
|
|
|
post-install:
|
|
|
|
rm ${WRKINST}/etc/bash_completion.d/dbus-bash-completion.sh
|
|
|
|
rmdir ${WRKINST}/etc/bash_completion.d/
|
2006-11-10 18:46:10 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|