summaryrefslogtreecommitdiff
path: root/editors/komodo-ide/Makefile
blob: b2c2a01396ea54e81f5edd8c4c19de8821ec9207 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection Makefile for:	komodo-ide
# Date created:				2010-11-22
# Whom:					Dereckson <dereckson@gmail.com>
#
# $FreeBSD$

PORTNAME=	komodo-ide
PORTVERSION=	6.0.2
PORTREVISION?=	1
CATEGORIES=	editors
MASTER_SITES=	http://downloads.activestate.com/Komodo/releases/${PORTVERSION}/
DISTNAME=	Komodo-IDE-${PORTVERSION}-59129-linux-libcpp6-x86

MAINTAINER=	dereckson@gmail.com
COMMENT=	Multi-language editor from ActiveState

CONFLICTS=	komodo-edit-*

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

LICENSE=	AKIDELA
LICENSE_FILE=	${WRKSRC}/license.txt
LICENSE_NAME=	ActiveState Komodo IDE license agreement
LICENSE_PERMS=

.include <bsd.port.pre.mk>

.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE='You must accept the license prior to building.'
.endif

.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-ide-6.desktop ${DESKTOPDIR}/

.include <bsd.port.post.mk>