# New ports collection makefile for:	orbitcpp
# Date created:		30 August 2001
# Whom:	      	  Thomas Hentschel <thomas at hentschel dot net>
#
# $FreeBSD: ports/devel/orbitcpp/Makefile,v 1.11 2003/02/20 17:06:53 knu Exp $
#

PORTNAME=	orbitcpp
PORTVERSION=	0.30.4
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	C++ bindings for ORBit, a CORBA 2.2-compliant ORB

LIB_DEPENDS=	ORBit.2:${PORTSDIR}/devel/ORBit

USE_GNOMENG=	yes
USE_GNOME=	glib12
USE_GMAKE=	yes
USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
INSTALLS_SHLIB=	yes

INSTALL_CMD=	/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}

post-patch:
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
		's|@INSTALL@|${INSTALL_CMD}|g'

.include <bsd.port.mk>
