# New ports collection makefile for:	imagesort
# Date created:			Apr 10, 2001
# Whom:				Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD: ports/graphics/imagesort/Makefile,v 1.14 2009/07/31 13:52:18 dinoex Exp $
#    $MCom: ports/graphics/imagesort/Makefile,v 1.1 2006/10/04 13:18:57 ahze Exp $

PORTNAME=	imagesort
PORTVERSION=	2.0
PORTREVISION=	8
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	apps/graphics/viewers/X

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A flexible X utility for managing many image files

USE_XORG=	x11 xt
USE_GNOME=	imlib
CFLAGS:=	${CFLAGS} -I${LOCALBASE}/include

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/imagesort ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/imagesort
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/imagesort
	${INSTALL_DATA} ${WRKSRC}/imagesortrc.sample ${PREFIX}/share/doc/imagesort
.endif

.include <bsd.port.mk>
