both current (fc4) and future linux (f8) distributions at one ports tree. The patch contains full changes to ports/Mk files and all ports involved. But only infrastructure is changed. The resulting packages are the same as before. Hence no need to bump PORTREVISIONs. The idea was taken from bsd.gnome.mk and others. More than 130 ports are switched to follow a new linux infrastructure introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new bsd.linux-apps.mk. Thanks for all who was involved and helped me with this work. And help from Alexander Leidinger was incredible. Other changes are coming. Stay tuned! PR: ports/132510 Submitted by: bsam (me) Exp-run by: portmgr (pav)
33 lines
876 B
Makefile
33 lines
876 B
Makefile
# New ports collection Makefile for: komodo-edit
|
|
# Date created: 2008-02-13
|
|
# Whom: arved
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= komodo-edit
|
|
PORTVERSION= 4.4.1
|
|
CATEGORIES= editors
|
|
MASTER_SITES= http://downloads.activestate.com/Komodo/releases/${PORTVERSION}/
|
|
DISTNAME= Komodo-Edit-${PORTVERSION}-1774-linux-libcpp6-x86
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Multi-language editor from ActiveState
|
|
|
|
ONLY_FOR_ARCH= i386 amd64
|
|
RESTRICTED= Distribution not permitted
|
|
NO_BUILD= yes
|
|
USE_LINUX= yes
|
|
USE_LINUX_APPS= gtk2 jpeg
|
|
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:
|
|
${MKDIR} ${PREFIX}/share/applications
|
|
cd ${WRKSRC}; ./install.sh -I ${DATADIR}
|
|
${LN} -sf ${DATADIR}/bin/komodo ${PREFIX}/bin/komodo
|
|
|
|
.include <bsd.port.mk>
|