# New ports collection makefile for:	loki
# Date created:		5 Feb 2006
# Whom:			Sun Chang-Ming
#
# $FreeBSD: ports/devel/loki/Makefile,v 1.7 2010/03/22 05:46:38 linimon Exp $
#

PORTNAME=	loki
PORTVERSION=	0.1.7
CATEGORIES=	devel
MASTER_SITES=	SF/${PORTNAME}-lib/Loki/Loki%20${PORTVERSION}

MAINTAINER=	snnn119@gmail.com
COMMENT=	A C++ library of common design patterns

USE_DOS2UNIX=	yes
USE_GMAKE=	yes
USE_LDCONFIG=	yes

DOCS=		README CHANGES doc/flex/flex_string.html \
		doc/yasli/Notes.txt \
		doc/yasli/yasli.html

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
	${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=		Does not compile on sparc64: TLS not supported
.endif

.include <bsd.port.post.mk>
