diff options
-rw-r--r-- | editors/komodo-edit/Makefile | 4 | ||||
-rw-r--r-- | editors/komodo-edit/pkg-plist | 2 |
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 |