1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/editors/mlview/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

50 lines
1.1 KiB
Makefile

# Ports collection Makefile for: mlview
# Date created: 24 September 2003
# Whom: Simon Barner <barner@gmx.de>
#
# $FreeBSD$
#
PORTNAME= mlview
PORTVERSION= 0.8
PORTREVISION= 1
CATEGORIES= editors gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
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"
USE_REINPLACE= yes
GCONF_SCHEMAS= mlview.schemas
.include <bsd.port.pre.mk>
# Autodetect dbus
.if exists (${LOCALBASE}/lib/libdbus-1.so.1)
WITH_DBUS= yes
.endif
.if defined (WITH_DBUS)
LIB_DEPENDS+= dbus-1.1:${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>