summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2008-02-18 20:34:12 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2008-02-18 20:34:12 +0000
commitf1761d7501bafe201155d224e5c4c526980f4b94 (patch)
tree574d1aff450d9782352e3797ac96172b8ee96d92 /editors
parent- Update to version 0.25. (diff)
Install the .desktop file in the right directory.
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=207549
Diffstat (limited to 'editors')
-rw-r--r--editors/komodo-edit/Makefile4
-rw-r--r--editors/komodo-edit/pkg-plist2
2 files changed, 5 insertions, 1 deletions
diff --git a/editors/komodo-edit/Makefile b/editors/komodo-edit/Makefile
index 3664fb5cef76..8f296dc59af1 100644
--- a/editors/komodo-edit/Makefile
+++ b/editors/komodo-edit/Makefile
@@ -6,6 +6,7 @@
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
@@ -23,7 +24,8 @@ USE_LINUX= yes
USE_PYTHON= yes
post-patch:
- ${REINPLACE_CMD} -e "s, _selinux_prepare(absInstallDir), return," \
+ ${REINPLACE_CMD} -e "s, _selinux_prepare(absInstallDir), return,; \
+ s,/usr/share/applications,${PREFIX}/share/applications," \
${WRKSRC}/support/_install.py
do-install:
diff --git a/editors/komodo-edit/pkg-plist b/editors/komodo-edit/pkg-plist
index d9c218b95473..59311ecd91d2 100644
--- a/editors/komodo-edit/pkg-plist
+++ b/editors/komodo-edit/pkg-plist
@@ -3264,6 +3264,7 @@
%%DATADIR%%/share/icons/komodo48.png
%%DATADIR%%/share/icons/komodo48.xpm
bin/komodo
+share/applications/komodo-edit-4.2.desktop
@dirrm %%DATADIR%%/share/icons
@dirrm %%DATADIR%%/share/doc
@dirrm %%DATADIR%%/share
@@ -3510,3 +3511,4 @@ bin/komodo
@dirrm %%DATADIR%%/lib
@dirrm %%DATADIR%%/bin
@dirrm %%DATADIR%%
+@dirrmtry share/applications