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

PORTNAME=   komodo-edit
PORTVERSION=    6.1.3
CATEGORIES= editors
MASTER_SITES=   http://downloads.activestate.com/Komodo/releases/archive/6.x/${PORTVERSION}/
DISTNAME=   Komodo-Edit-${PORTVERSION}-8844-linux-libcpp6-x86

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

CONFLICTS=  komodo-ide-6*

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

PLIST_FILES=    bin/komodo
PORTDATA=   *

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

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

.include <bsd.port.mk>