aboutsummaryrefslogtreecommitdiffstats
path: root/editors/komodo-edit/Makefile
blob: a6332f1ee119a9bbe4a5fdcd1cee5d0dddfa0e67 (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
48
# Created by: arved
# $FreeBSD$

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

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

BROKEN=     Unfetchable
CONFLICTS=  komodo-ide-*

RESTRICTED= Distribution not permitted
NO_CDROM=   Distribution not permitted
NO_PACKAGE= Distribution not permitted

ONLY_FOR_ARCHS= i386 amd64
NO_BUILD=   yes
USE_LINUX=  f10
USE_LINUX_APPS= alsalib gtk2 jpeg dbusglib
DESKTOP_ENTRIES="Komodo Edit" \
        "Free multi-platform editor that makes it easy to write quality code." \
        ${DATADIR}/share/icons/komodo48.png \
        "komodo" \
        "Development;Utility;TextEditor;" \
        ${FALSE}

NO_STAGE=   yes
.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800000
BROKEN=     does not build
.endif

do-install:
    ${MKDIR} ${DESKTOPDIR}
    cd ${WRKSRC}/INSTALLDIR && ${COPYTREE_SHARE} \* ${DATADIR}
    ${CHMOD} ${BINMODE} ${DATADIR}/bin/komodo
    ${CHMOD} ${BINMODE} ${DATADIR}/lib/mozilla/komodo
    ${CHMOD} ${BINMODE} ${DATADIR}/lib/mozilla/komodo-bin
    ${CHMOD} ${BINMODE} ${DATADIR}/lib/mozilla/run-mozilla.sh
    ${LN} -sf ${DATADIR}/bin/komodo ${PREFIX}/bin/

.include <bsd.port.post.mk>