# New ports collection Makefile for:	komodo-edit
# Date created:				2008-02-13
# Whom:					arved
#
# $FreeBSD: ports/editors/komodo-edit/Makefile,v 1.17 2011/09/30 20:03:41 pav Exp $

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

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

BROKEN=		does not package

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>
