# New ports collection makefile for:	komparator
# Date created:				18 Jan 2006
# Whom:			Alexander V. Ribchansky <triosoft@triosoft.com.ua>
#
# $FreeBSD: ports/sysutils/komparator/Makefile,v 1.7 2007/10/04 06:10:13 edwin Exp $

PORTNAME=	komparator
PORTVERSION=	0.5
PORTREVISION=	1
CATEGORIES=	sysutils kde
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	triosoft@triosoft.com.ua
COMMENT=	KDE app that searches and synchronizes two directories

USE_KDELIBS_VER=3
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:15
USE_BZIP2=	yes
USE_GETTEXT=	yes

DOCSDIR=	${PREFIX}/share/doc/HTML/en/komparator

post-patch:
	${REINPLACE_CMD} -e 's,-O2,,g ; \
		s,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/${CONFIGURE_SCRIPT}

post-configure:
.if defined(NOPORTDOCS)
	${REINPLACE_CMD} -e 's|doc po src|po src|g' ${WRKSRC}/Makefile
.endif

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1