diff options
author | arved <arved@FreeBSD.org> | 2008-02-19 04:34:12 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2008-02-19 04:34:12 +0800 |
commit | 7fcf63605873d52d736be149ff2ceee8ed820d97 (patch) | |
tree | 6d748a2fac4d8df7da3f341b7de181c204f53872 /editors/komodo-edit | |
parent | 03ad6de131136605dfa8392ba41e5d7326f3649e (diff) | |
download | freebsd-ports-gnome-7fcf63605873d52d736be149ff2ceee8ed820d97.tar.gz freebsd-ports-gnome-7fcf63605873d52d736be149ff2ceee8ed820d97.tar.zst freebsd-ports-gnome-7fcf63605873d52d736be149ff2ceee8ed820d97.zip |
Install the .desktop file in the right directory.
Reported by: pointyhat
Diffstat (limited to 'editors/komodo-edit')
-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 |