aboutsummaryrefslogtreecommitdiffstats
path: root/editors/komodo-ide/Makefile
blob: f7d239566241a2f13a083643ed11a167f7f9ffdd (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
# New ports collection Makefile for:    komodo-ide
# Date created:             2010-11-22
# Whom:                 Dereckson <dereckson@gmail.com>
#
# $FreeBSD$

PORTNAME=   komodo-ide
PORTVERSION=    6.1.1
CATEGORIES= editors
MASTER_SITES=   http://downloads.activestate.com/Komodo/releases/${PORTVERSION}/
DISTNAME=   Komodo-IDE-${PORTVERSION}-61234-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>