# New ports collection makefile for:	gcompmgr
# Date created:				6 Feb 2006
# Whom:					UMENO Takashi
#
# $FreeBSD: ports/x11-wm/gcompmgr/Makefile,v 1.1 2006/02/18 11:30:52 jylefort Exp $
#

PORTNAME=	gcompmgr
PORTVERSION=	0.21
CATEGORIES=	x11-wm
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	gcompmgr

MAINTAINER=	umeno@rr.iij4u.or.jp
COMMENT=	A GNOME interface to xcompmgr

LIB_DEPENDS=	gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24

GNU_CONFIGURE=	yes
USE_X_PREFIX=	yes
USE_AUTOTOOLS=	automake:19:env

DESKTOP_ENTRIES="gcompmgr" \
		"Configure window effects" \
		"" \
		"gcompmgr" \
		"Application;Settings;" \
		true

.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} != xorg
IGNORE= requires the composite extension, which is unavailable with XFree86
.endif

post-patch:
.for file in depcomp install-sh missing
	@${LN} -sf ${AUTOMAKE_DIR}/${file} ${WRKSRC}
.endfor

.include <bsd.port.post.mk>
