# New ports collection Makefile for:	komodo-edit
# Date created:				2008-02-13
# Whom:					arved
#
# $FreeBSD: ports/editors/komodo-edit/Makefile,v 1.14 2010/11/26 19:35:48 tabthorpe Exp $

PORTNAME=	komodo-edit
PORTVERSION=	5.2.4
CATEGORIES=	editors
MASTER_SITES=	http://downloads.activestate.com/Komodo/releases/${PORTVERSION}/
DISTNAME=	Komodo-Edit-${PORTVERSION}-4343-linux-libcpp6-x86

MAINTAINER=	gahr@FreeBSD.org
COMMENT=	Multi-language editor from ActiveState

CONFLICTS=      komodo-ide-*

ONLY_FOR_ARCHS=	i386 amd64
NO_BUILD=	yes
USE_LINUX=	f10
USE_LINUX_APPS=	gtk2 jpeg
USE_LDCONFIG=	yes
USE_PYTHON=	yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800000
BROKEN=		fails to install
.endif

do-install:
	${MKDIR} ${DESKTOPDIR}
	cd ${WRKSRC} && ${SH} install.sh -I ${DATADIR} -s
	${LN} -sf ${DATADIR}/bin/komodo ${PREFIX}/bin/
	${LN} -sf ${DATADIR}/share/desktop/komodo-edit-5.desktop ${DESKTOPDIR}/

.include <bsd.port.post.mk>
