# ex:ts=8
# Ports collection makefile for:	libassa
# Date created:			Dec 24, 2003
# Whom:				ijliao
#
# $FreeBSD: ports/devel/libassa/Makefile,v 1.18 2006/02/23 10:35:47 ade Exp $
#

PORTNAME=	libassa
PORTVERSION=	3.3.2
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An C++ networking library and application framework

USE_GNOME=	gnomehack gnometarget pkgconfig
USE_REINPLACE=	yes
USE_AUTOTOOLS=	libtool:15
CONFIGURE_ARGS=	--disable-html-docs --disable-static
INSTALLS_SHLIB=	yes

post-patch:
	@${REINPLACE_CMD} -e '/^SUBDIRS/s: doc : :g' ${WRKSRC}/Makefile.in

pre-configure:
	@${CP} ${LTMAIN} ${WRKSRC}

.include <bsd.port.pre.mk>

.if ( ${OSVERSION} < 500000 )
BROKEN=	"Compilation fails and passing -fhuge-objects does not help"
.endif

.if ${ARCH} == "sparc64"
BROKEN=		"Does not build on sparc64"
.endif

.include <bsd.port.post.mk>
