aboutsummaryrefslogtreecommitdiff
path: root/games/crossfire-client
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-04-23 17:17:52 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-04-23 17:17:52 +0000
commitfce387b760362c4bc06d8821816a7835e81686ff (patch)
tree4e03021543af6d918cf634895e166fc240b2aad4 /games/crossfire-client
parent17aab083b4aa289276ba81e09a921e1a5c381796 (diff)
downloadports-fce387b760362c4bc06d8821816a7835e81686ff.tar.gz
ports-fce387b760362c4bc06d8821816a7835e81686ff.zip
Notes
Diffstat (limited to 'games/crossfire-client')
-rw-r--r--games/crossfire-client/Makefile10
-rw-r--r--games/crossfire-client/pkg-plist3
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