Mate is a lite desktop forked from gnome2. Most of the work is done by Jeremy Messenger (mezz@). The only thing I did was update a few ports to later 1.6 release and attempting to keep up with ports infra changes. Resulting bugs are all mine. Mate is a sort of replacement for Gnome 2. So people wanting to keep a Gnome 2 like desktop should switch. Gnome 2 will be replaced by Gnome 3 in the near future. This switch will be announce with a transition time so people have more time to switch if they haven't already. This release was made possible by everyone that send friendly pokes to keep mate on my mind. Approved by: portmgr (bapt)
74 lines
1.7 KiB
Makefile
74 lines
1.7 KiB
Makefile
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mate-image-viewer
|
|
PORTVERSION= 1.6.1
|
|
CATEGORIES= graphics mate
|
|
MASTER_SITES= MATE
|
|
DIST_SUBDIR= mate
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Eye of MATE image viewer
|
|
|
|
BUILD_DEPENDS= gtkdoc-check:${PORTSDIR}/textproc/gtk-doc
|
|
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
USES= desktop-file-utils gettext gmake pathfix pkgconfig \
|
|
shared-mime-info
|
|
USE_XZ= yes
|
|
USE_MATE= desktop docutils icontheme
|
|
USE_XORG= x11
|
|
USE_GNOME= gdkpixbuf2 glib20 gnomehier gtk20 librsvg2 libxml2
|
|
INSTALLS_OMF= yes
|
|
USE_AUTOTOOLS= libtool
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-gtk-doc \
|
|
--with-html-dir=${PREFIX}/share/doc \
|
|
--disable-python \
|
|
--without-cms
|
|
INSTALLS_ICONS= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
GLIB_SCHEMAS= org.mate.eom.gschema.xml
|
|
|
|
OPTIONS_DEFINE= EXIF EXEMPI
|
|
OPTIONS_DEFAULT=EXIF EXEMPI
|
|
EXIF_DESC= Digital camera file meta-data support
|
|
EXEMPI_DESC= XMP support
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
_WITH_EXIF= no
|
|
_WITH_EXEMPI= no
|
|
|
|
.if ${PORT_OPTIONS:MEXIF}
|
|
CONFIGURE_ARGS+=--with-libexif
|
|
LIB_DEPENDS+= libexif.so:${PORTSDIR}/graphics/libexif
|
|
PLIST_SUB+= EXIF=""
|
|
_WITH_EXIF= yes
|
|
.else
|
|
CONFIGURE_ARGS+=--without-libexif
|
|
PLIST_SUB+= EXIF="@comment "
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MEXEMPI}
|
|
CONFIGURE_ARGS+=--with-xmp
|
|
LIB_DEPENDS+= libexempi.so:${PORTSDIR}/textproc/exempi
|
|
_WITH_EXEMPI= yes
|
|
.else
|
|
CONFIGURE_ARGS+=--without-xmp
|
|
.endif
|
|
|
|
.if ${_WITH_EXIF}=="yes" || ${_WITH_EXEMPI}=="yes"
|
|
PLIST_SUB+= EXIFEXEMPI=""
|
|
.else
|
|
PLIST_SUB+= EXIFEXEMPI="@comment "
|
|
.endif
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eom/plugins/*.so
|
|
|
|
.include <bsd.port.mk>
|