2003-12-06 21:04:24 +01:00
|
|
|
# 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
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 8
|
2003-12-06 21:04:24 +01:00
|
|
|
CATEGORIES= editors gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2005-07-23 13:07:45 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION}
|
2003-12-06 21:04:24 +01:00
|
|
|
DIST_SUBDIR= gnome2
|
|
|
|
|
2005-02-28 14:05:25 +01:00
|
|
|
MAINTAINER= barner@FreeBSD.org
|
2003-12-06 21:04:24 +01:00
|
|
|
COMMENT= A tree oriented XML editor for Gnome
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2008-08-20 02:57:32 +02:00
|
|
|
USE_AUTOTOOLS= autoconf:262 libtool:15
|
2005-07-25 11:25:03 +02:00
|
|
|
USE_GNOME= eel2 gnomehack gnomeprefix gtksourceview
|
2003-12-06 21:04:24 +01:00
|
|
|
USE_GMAKE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2003-12-06 21:04:24 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
2005-03-07 11:19:15 +01:00
|
|
|
GCONF_SCHEMAS= mlview.schemas
|
|
|
|
|
2005-07-23 13:07:45 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2005-03-16 11:48:15 +01:00
|
|
|
|
2005-07-23 13:07:45 +02:00
|
|
|
# Autodetect dbus
|
2006-10-14 10:54:54 +02:00
|
|
|
.if exists (${LOCALBASE}/lib/libdbus-1.so.3)
|
2005-07-23 13:07:45 +02:00
|
|
|
WITH_DBUS= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined (WITH_DBUS)
|
2006-10-14 10:54:54 +02:00
|
|
|
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)
|
2005-09-05 13:07:21 +02:00
|
|
|
@${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>
|