Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 11:33:23 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350460 - head/editors/mlview
Message-ID:  <201404071133.s37BXN8l008166@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Apr  7 11:33:23 2014
New Revision: 350460
URL: http://svnweb.freebsd.org/changeset/ports/350460
QAT: https://qat.redports.org/buildarchive/r350460/

Log:
  - Add staging support
  - Remove leading article from COMMENT
  - Convert to USES=tar:bzip2, new options framework

Modified:
  head/editors/mlview/Makefile

Modified: head/editors/mlview/Makefile
==============================================================================
--- head/editors/mlview/Makefile	Mon Apr  7 11:15:09 2014	(r350459)
+++ head/editors/mlview/Makefile	Mon Apr  7 11:33:23 2014	(r350460)
@@ -9,11 +9,10 @@ MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome2
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A tree oriented XML editor for Gnome
+COMMENT=	Tree oriented XML editor for Gnome
 
-USE_BZIP2=	yes
 USE_AUTOTOOLS=	autoconf libtool
-USES=		pathfix gmake iconv pkgconfig
+USES=		pathfix gmake iconv pkgconfig tar:bzip2
 USE_GNOME=	eel2 gnomeprefix gtksourceview libgnomeui
 USE_LDCONFIG=	yes
 CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib `pkg-config --libs gnome-vfs-2.0 libgnomeui-2.0` ${ICONV_LIB}"
@@ -21,24 +20,9 @@ CPPFLAGS+=	-I${LOCALBASE}/include `pkg-c
 
 GCONF_SCHEMAS=	mlview.schemas
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	DBUS
 
-# 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
+DBUS_LIB_DEPENDS=	libdbus-1.so:${PORTSDIR}/devel/dbus
+DBUS_CONFIGURE_ENABLE=	dbus
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404071133.s37BXN8l008166>