# New ports collection makefile for:	uncrustify
# Date created:		03 Jul 2006
# Whom:			Dmitry Marakasov <amdmi3@mail.ru>
#
# $FreeBSD: ports/textproc/uncrustify/Makefile,v 1.5 2006/09/25 10:49:13 miwi Exp $
#

PORTNAME=	uncrustify
PORTVERSION=	0.27
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
EXTRACT_SUFX=	.tgz

MAINTAINER=	amdmi3@mail.ru
COMMENT=	Highly configurable source code beautifier

GNU_CONFIGURE=	yes
USE_GMAKE=	yes

.if !defined(NOPORTDOCS)
PORTDOCS=	*
post-install:
	cd ${WRKSRC}/documentation; \
		${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; ; \
		${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
.endif

.include <bsd.port.mk>
