diff options
Diffstat (limited to 'editors/mlview/Makefile')
-rw-r--r-- | editors/mlview/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/editors/mlview/Makefile b/editors/mlview/Makefile new file mode 100644 index 000000000..3c86b2086 --- /dev/null +++ b/editors/mlview/Makefile @@ -0,0 +1,46 @@ +# Ports collection Makefile for: mlview +# Date created: 24 September 2003 +# Whom: Simon Barner <barner@gmx.de> +# +# $FreeBSD: ports/editors/mlview/Makefile,v 1.35 2009/08/02 19:33:42 mezz Exp $ +# + +PORTNAME= mlview +PORTVERSION= 0.8 +PORTREVISION= 10 +CATEGORIES= editors gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= ports@FreeBSD.org +COMMENT= A tree oriented XML editor for Gnome + +USE_BZIP2= yes +USE_AUTOTOOLS= autoconf:262 libtool:22 +USE_GNOME= eel2 gnomehack gnomeprefix gtksourceview libgnomeui +USE_GMAKE= yes +USE_LDCONFIG= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `pkg-config --cflags gnome-vfs-2.0 libgnomeui-2.0`" LIBS="-L${LOCALBASE}/lib `pkg-config --libs gnome-vfs-2.0 libgnomeui-2.0`" + +GCONF_SCHEMAS= mlview.schemas + +.include <bsd.port.pre.mk> + +# Autodetect dbus +.if exists (${LOCALBASE}/lib/libdbus-1.so.3) +WITH_DBUS= yes +.endif + +.if defined (WITH_DBUS) +LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus +CONFIGURE_ARGS+="--enable-dbus=yes" +.endif + +pre-everything:: +.if !defined (WITH_DBUS) + @${ECHO_CMD} + @${ECHO_CMD} Re-run with -DWITH_DBUS in order to enable dbus support! + @${ECHO_CMD} +.endif + +.include <bsd.port.post.mk> |