# New ports collection makefile for:	compiz-bcop
# Date created:				2007-08-15
# Whom:					Robert Noland <rnoland@2hip.net>
#
# $FreeBSD: ports/devel/compiz-bcop/Makefile,v 1.3 2007/10/29 19:22:38 flz Exp $
#

PORTNAME=	compiz-bcop
PORTVERSION=	0.6.0
#PORTREVISION=	0
CATEGORIES=	devel x11-wm
MASTER_SITES=	http://releases.compiz-fusion.org/${PORTVERSION}/

MAINTAINER=	rnoland@2hip.net
COMMENT=	Code generator for Compiz Fusion Plugins

# This annoys me...
RUN_DEPENDS=	${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
		${LOCALBASE}/bin/getopt:${PORTSDIR}/misc/getopt

USE_BZIP2=	yes
GNU_CONFIGURE=	yes

USE_GNOME=	pkgconfig libxslt

CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}

post-patch:
	@${REINPLACE_CMD} \
		-e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
		-e 's|getopt|${LOCALBASE}/bin/getopt|' \
		${WRKSRC}/src/bcop.in
	@${REINPLACE_CMD} -e \
		's|[(]datadir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
		${WRKSRC}/Makefile.in

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1