1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/graphics/geeqie/Makefile
Dmitry Marakasov dfa2d819b0 Geeqie is a lightweight Gtk+ based image viewer for Unix operating systems.
Main features
  o EXIF, IPTC and XMP metadata browsing and editing.
  o Interoperability, easy integration with other software.
  o geeqie works on files and directories, there is no need to import images.
  o Fast preview for many raw image formats.
  o Tools for image comparison, sorting and managing photo collection.

History
  Geeqie has been forked from gqview project, because it was not possible to
  contact gqview author and the only maintainer. Geeqie projects goal is to move
  the development forward and also integrate the existing patches.

Project Status
  Geeqie is currently in alpha state. Everybody is encouraged to try the new
  features, however for stable software look at the original project.

WWW: http://geeqie.sourceforge.net/

PR:		ports/123770
Submitted by:	Martin Tournoij <carpetsmoker at rwxrwxrwx dot net>
Approved by:	miwi (mentor)
2008-06-26 11:01:21 +00:00

61 lines
1.4 KiB
Makefile

# New ports collection makefile for: graphics/geeqie
# Date created: 17 May 2008
# Whom: Martin Tournoij <carpetsmoker@xs4all.nl>
#
# $Carpetsmoker: ports/graphics/geeqie/Makefile,v 1.2 2008/05/17 19:35:22 carpetsmoker Exp $
# $FreeBSD$
#
PORTNAME= geeqie
DISTVERSION= 1.0alpha1
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= carpetsmoker@xs4all.nl
COMMENT= Lightweight image viewer forked from GQview
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --docdir="${DOCSDIR}" \
--htmldir="${DOCSDIR}/html" \
--with-htmldir="${DOCSDIR}/html" \
--with-readmedir="${DOCSDIR}"
MAKE_ARGS+= top_builddir="${WRKSRC}"
PORTDOCS= *
MAN1= geeqie.1
OPTIONS= EXIV2 "Enable EXIV2 for metadata editing" on \
LCMS "Enable LCMS for color adjusting" on
.include <bsd.port.pre.mk>
.if defined(WITH_EXIV2)
LIB_DEPENDS+= exiv2.3:${PORTSDIR}/graphics/exiv2
CONFIGURE_ARGS+=--with-exiv2
.else
CONFIGURE_ARGS+=--without-exiv2
.endif
.if defined(WITH_LCMS)
LIB_DEPENDS+= lcms.1:${PORTSDIR}/graphics/lcms
CONFIGURE_ARGS+=--with-lcms
.else
CONFIGURE_ARGS+=--without-lcms
.endif
post-patch:
@${REINPLACE_CMD} -e 's| -r %F||' \
${WRKSRC}/geeqie.desktop
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-helpDATA||' \
${WRKSRC}/doc/Makefile.in
@${REINPLACE_CMD} -e '/^install-data-am:/,/^[a-z]/ s|install-readmeDATA||' \
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.post.mk>