# Created by: Steve Wills <steve@mouf.net>
# $FreeBSD: print/gnome-specimen/Makefile 327765 2013-09-20 22:43:59Z bapt $

PORTNAME=	gnome-specimen
PORTVERSION=	0.4
PORTREVISION=	3
CATEGORIES=	print
MASTER_SITES=	http://uwstopia.nl/geek/projects/gnome-specimen/releases/

MAINTAINER=	swills@FreeBSD.org
COMMENT=	Gnome Specimen is a simple tool to preview and compare installed fonts

GNU_CONFIGURE=	yes
USE_GNOME=	pygnomedesktop
GCONF_SCHEMAS=	gnome-specimen.schemas
USE_GMAKE=	yes
USE_PYTHON=	yes
USES=		gettext
USE_AUTOTOOLS=	automake:env autoconf:env

INSTALLS_ICONS=	yes

NO_STAGE=	yes
.include <bsd.port.pre.mk>

pre-configure:
	( cd ${WRKSRC} ; ${AUTORECONF} ; ${AUTOMAKE} )

post-configure:
	@${INSTALL_SCRIPT} ${AUTOMAKE_DIR}/py-compile ${WRKSRC}

.include <bsd.port.post.mk>
