# New ports collection makefile for:	shared-mime-info
# Date created:        31 May 2002
# Whom:                olgeni@FreeBSD.org
#
# $FreeBSD: ports/misc/shared-mime-info/Makefile,v 1.19 2004/04/13 03:18:25 marcus Exp $

PORTNAME=	shared-mime-info
PORTVERSION=	0.14
PORTREVISION=	2
CATEGORIES=	misc gnome
MASTER_SITES=	http://www.freedesktop.org/software/shared-mime-info/
DISTNAME=	shared-mime-info-${PORTVERSION}

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	A MIME type database from the FreeDesktop project

GNU_CONFIGURE=	yes
USE_REINPLACE=	yes
USE_GNOME=	glib20 libxml2 intltool gnomehack

MAN1=		update-mime-database.1

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
		${WRKSRC}/update-mime-database.c

.include <bsd.port.mk>
