freebsd-ports/editors/mlview/Makefile

49 lines
1 KiB
Makefile
Raw Normal View History

# Ports collection Makefile for: mlview
# Date created: 24 September 2003
# Whom: Simon Barner <barner@gmx.de>
#
# $FreeBSD$
#
PORTNAME= mlview
2005-07-23 13:07:45 +02:00
PORTVERSION= 0.8
PORTREVISION= 4
CATEGORIES= editors gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
2005-07-23 13:07:45 +02:00
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= barner@FreeBSD.org
COMMENT= A tree oriented XML editor for Gnome
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_AUTOTOOLS= autoconf:259 libtool:15
USE_GNOME= eel2 gnomehack gnomeprefix gtksourceview
USE_GMAKE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
GCONF_SCHEMAS= mlview.schemas
2005-07-23 13:07:45 +02:00
.include <bsd.port.pre.mk>
2005-07-23 13:07:45 +02:00
# Autodetect dbus
.if exists (${LOCALBASE}/lib/libdbus-1.so.3)
2005-07-23 13:07:45 +02:00
WITH_DBUS= yes
.endif
.if defined (WITH_DBUS)
LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus
2005-07-23 13:07:45 +02:00
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}
2005-07-23 13:07:45 +02:00
.endif
.include <bsd.port.post.mk>