diff options
author | pawel <pawel@FreeBSD.org> | 2012-04-24 01:17:52 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-04-24 01:17:52 +0800 |
commit | 77b176d18b852e2fbd864b8620bef0167dfd2833 (patch) | |
tree | 10b713d86ca1f80f935235db57bf1dd53725f4e1 | |
parent | ca474f8878dfb7f1d8ea212e02d77b184d07751c (diff) | |
download | freebsd-ports-gnome-77b176d18b852e2fbd864b8620bef0167dfd2833.tar.gz freebsd-ports-gnome-77b176d18b852e2fbd864b8620bef0167dfd2833.tar.zst freebsd-ports-gnome-77b176d18b852e2fbd864b8620bef0167dfd2833.zip |
Install program's icon and desktop entry file
PR: ports/167212
Submitted by: maintainer
-rw-r--r-- | games/crossfire-client/Makefile | 10 | ||||
-rw-r--r-- | games/crossfire-client/pkg-plist | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/games/crossfire-client/Makefile b/games/crossfire-client/Makefile index 2a505e86efbd..f009ed59cd77 100644 --- a/games/crossfire-client/Makefile +++ b/games/crossfire-client/Makefile @@ -7,6 +7,7 @@ PORTNAME= crossfire-client PORTVERSION= 1.70.0 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/crossfire/crossfire-${PORTVERSION} @@ -28,4 +29,13 @@ post-patch: ${REINPLACE_CMD} -e "/mandir='${datarootdir}\/man'/d" \ ${WRKSRC}/configure +post-install: + ${CP} ${WRKSRC}/pixmaps/48x48.png ${WRKSRC}/pixmaps/crossfire-client.png + ${MKDIR} ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/gtk-v2/crossfire-client.desktop \ + ${PREFIX}/share/applications + ${MKDIR} ${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/pixmaps/crossfire-client.png \ + ${PREFIX}/share/pixmaps + .include <bsd.port.mk> diff --git a/games/crossfire-client/pkg-plist b/games/crossfire-client/pkg-plist index 71be50bf4ca3..59ad8298ef9f 100644 --- a/games/crossfire-client/pkg-plist +++ b/games/crossfire-client/pkg-plist @@ -1,5 +1,7 @@ bin/cfsndserv bin/crossfire-client-gtk2 +share/applications/crossfire-client.desktop +share/pixmaps/crossfire-client.png %%DATADIR%%/glade-gtk2/caelestis.glade %%DATADIR%%/glade-gtk2/chthonic.glade %%DATADIR%%/glade-gtk2/dialogs.glade @@ -17,3 +19,4 @@ bin/crossfire-client-gtk2 @dirrm %%DATADIR%%/glade-gtk2 @dirrm %%DATADIR%%/themes @dirrm %%DATADIR%% +@dirrmtry share/applications |