aboutsummaryrefslogtreecommitdiff
path: root/editors/komodo-edit/Makefile
blob: 8f296dc59af1479c1327ff901c6e1f88ad8a7069 (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
# New ports collection Makefile for:	komodo-edit
# Date created:				2008-02-13
# Whom:					arved
#
# $FreeBSD$

PORTNAME=	komodo-edit
PORTVERSION=	4.2.1
PORTREVISION=	1
CATEGORIES=	editors
MASTER_SITES=	http://downloads.activestate.com/Komodo/Linux/4.2/
DISTNAME=	Komodo-Edit-4.2.1-283000-linux-libcpp6-x86

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

RUN_DEPENDS=	${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg \
		${LINUXBASE}/usr/bin/gtk-demo:${PORTSDIR}/x11-toolkits/linux-gtk2

ONLY_FOR_ARCH=	i386 amd64
RESTRICTED=	Distribution not permitted
NO_BUILD=	yes
USE_LINUX=	yes
USE_PYTHON=	yes

post-patch:
	${REINPLACE_CMD} -e "s,  _selinux_prepare(absInstallDir),  return,; \
		s,/usr/share/applications,${PREFIX}/share/applications," \
		${WRKSRC}/support/_install.py

do-install:
	cd ${WRKSRC}; ./install.sh -I ${DATADIR}
	${LN} -sf ${DATADIR}/bin/komodo ${PREFIX}/bin/komodo

.include <bsd.port.mk>