diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-06-08 18:03:08 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-06-08 18:03:08 +0800 |
commit | b9e58804ee1028a815c38bb2c76295ad205303e7 (patch) | |
tree | 3161f247e9d01c156a8c4a307089abc102ad26f4 /graphics/eog/Makefile | |
parent | 9572d278a3863613406ab90c093348b946fe3b71 (diff) | |
download | marcuscom-ports-b9e58804ee1028a815c38bb2c76295ad205303e7.tar marcuscom-ports-b9e58804ee1028a815c38bb2c76295ad205303e7.tar.gz marcuscom-ports-b9e58804ee1028a815c38bb2c76295ad205303e7.tar.bz2 marcuscom-ports-b9e58804ee1028a815c38bb2c76295ad205303e7.tar.lz marcuscom-ports-b9e58804ee1028a815c38bb2c76295ad205303e7.tar.xz marcuscom-ports-b9e58804ee1028a815c38bb2c76295ad205303e7.tar.zst marcuscom-ports-b9e58804ee1028a815c38bb2c76295ad205303e7.zip |
Update to 2.31.3.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14227 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/eog/Makefile')
-rw-r--r-- | graphics/eog/Makefile | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/graphics/eog/Makefile b/graphics/eog/Makefile new file mode 100644 index 000000000..2ff2f512b --- /dev/null +++ b/graphics/eog/Makefile @@ -0,0 +1,80 @@ +# New ports collection makefile for: eog2 +# Date created: 21 May 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= eog +PORTVERSION= 2.31.3 +CATEGORIES= graphics gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= The Eye Of Gnome image viewer + +BUILD_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \ + bin/update-mime-database:${PORTSDIR}/misc/hared-mime-info +RUN_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \ + bin/update-mime-database:${PORTSDIR}/misc/hared-mime-info + +USE_BZIP2= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack intlhack librsvg2 desktopfileutils \ + gconf2 gnomedesktop +WANT_GNOME= yes +INSTALLS_ICONS= yes +USE_GETTEXT= yes +INSTALLS_OMF= yes +GNU_CONFIGURE= yes +GNOME_DESKTOP_VERSION=2 +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= eog.schemas +GLIB_SCHEMAS= org.gnome.eog.gschema.xml + +.include <bsd.port.pre.mk> + +_WITH_EXIF= no +_WITH_EXEMPI= no + +.if !defined(WITHOUT_EXIF) || (exists(${LOCALBASE}/lib/libexif.so.12) || \ + defined(WITH_EXIF)) +LIB_DEPENDS+= exif.12:${PORTSDIR}/graphics/libexif +PLIST_SUB+= EXIF="" +_WITH_EXIF= yes +.else +PLIST_SUB+= EXIF="@comment " +.endif + +.if !defined(WITHOUT_EXEMPI) || (exists(${LOCALBASE}/lib/libexempi.so)) || \ + defined(WITH_EXEMPI) +LIB_DEPENDS+= exempi.3:${PORTSDIR}/textproc/exempi +_WITH_EXEMPI= yes +.endif + +.if ${_WITH_EXIF}=="yes" || ${_WITH_EXEMPI}=="yes" +PLIST_SUB+= EXIFEXEMPI="" +.else +PLIST_SUB+= EXIFEXEMPI="@comment " +.endif + +.if ${HAVE_GNOME:Mpygnome2}!="" +USE_GNOME+= pygtk2 +CONFIGURE_ARGS+=--enable-python +.else +CONFIGURE_ARGS+=--disable-python +.endif + +pre-install: + @${MKDIR} ${PREFIX}/share/glib-2.0/schemas + @${INSTALL_DATA} ${WRKSRC}/data/org.gnome.eog.gschema.xml \ + ${PREFIX}/share/glib-2.0/schemas + +post-install: + @-update-desktop-database > /dev/null + +.include <bsd.port.post.mk> |