# New ports collection makefile for:	fotoxx-11.03
# Date created:		2011-03-28
# Whom:			Rod Person <rodperson@rodperson.com>
#
# $FreeBSD: ports/graphics/fotoxx/Makefile,v 1.2 2011/09/23 22:23:09 amdmi3 Exp $
#

PORTNAME=	fotoxx
PORTVERSION=	11.03
CATEGORIES=	graphics
MASTER_SITES=	http://kornelix.squarespace.com/downloads/ \
		http://www.rodperson.com/DL/

MAINTAINER=	rodperson@rodperson.com
COMMENT=	Application to organize and edit image collections

LIB_DEPENDS=	execinfo.1:${PORTSDIR}/devel/libexecinfo
RUN_DEPENDS=	xdg-open:${PORTSDIR}/devel/xdg-utils \
		ufraw-batch:${PORTSDIR}/graphics/ufraw \
		exiftool:${PORTSDIR}/graphics/p5-Image-ExifTool

USE_GNOME=	gtk20
USE_GMAKE=	yes
MANCOMPRESSED=	yes
MAN1=		fotoxx.1

ALL_TARGET=	fotoxx
INSTALL_TARGET=	install manpage

LDFLAGS+=	-O3 -g -Wall -rdynamic -lexecinfo

post-patch:
		@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
			${WRKSRC}/Makefile \
			${WRKSRC}/dependencies.sh

.include <bsd.port.mk>
