# New ports collection makefile for:	gcolor2
# Date created:		18 April 2005
# Whom:			Piotr Smyrak, piotr.smyrak@heron.pl
#
# $FreeBSD: ports/graphics/gcolor2/Makefile,v 1.3 2005/11/05 05:20:24 marcus Exp $
#

PORTNAME=	gcolor2
PORTVERSION=	0.4
PORTREVISION=	1
CATEGORIES=	graphics gnome
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	smyru@heron.pl
COMMENT=	A simple GTK+ 2.0 color selector

USE_X_PREFIX=	yes
USE_GNOME=	gtk20 gnomeprefix
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

SUB_FILES=	gcolor2.desktop

post-install:
	${INSTALL_DATA} ${WRKDIR}/gcolor2.desktop ${PREFIX}/share/gnome/applications

.include <bsd.port.mk>
