aboutsummaryrefslogtreecommitdiff
path: root/games/crossfire-client
diff options
context:
space:
mode:
authorBernhard Froehlich <decke@FreeBSD.org>2014-01-27 16:26:08 +0000
committerBernhard Froehlich <decke@FreeBSD.org>2014-01-27 16:26:08 +0000
commit5b17477a885ecd40417c8ff1f98daa113cdcac7d (patch)
tree3a7db04791f2bc1db8e1bcfe201d2962bebc02f5 /games/crossfire-client
parent9d634e0b5f433a1de219735f6c3b004ae2d87d68 (diff)
downloadports-5b17477a885ecd40417c8ff1f98daa113cdcac7d.tar.gz
ports-5b17477a885ecd40417c8ff1f98daa113cdcac7d.zip
- Stagify
- Update dependencies to new shlib format - Fix build by adding USES=pkgconfig - Bump PORTREVISION PR: ports/185556 PR: ports/186131 Submitted by: Kevin Zheng <kevinz5000@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=341422
Diffstat (limited to 'games/crossfire-client')
-rw-r--r--games/crossfire-client/Makefile12
-rw-r--r--games/crossfire-client/pkg-plist9
2 files changed, 10 insertions, 11 deletions
diff --git a/games/crossfire-client/Makefile b/games/crossfire-client/Makefile
index 87a2c25a32e4..c1c685ecb527 100644
--- a/games/crossfire-client/Makefile
+++ b/games/crossfire-client/Makefile
@@ -3,7 +3,7 @@
PORTNAME= crossfire-client
PORTVERSION= 1.70.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF/crossfire/crossfire-${PORTVERSION}
@@ -13,9 +13,10 @@ COMMENT= Cooperative multiplayer graphical RPG and adventure game
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
GNU_CONFIGURE= yes
+USES= pkgconfig
USE_GL= glut
USE_GNOME= gtk20 libglade2
USE_SDL= sdl image mixer
@@ -24,9 +25,6 @@ CONFIGURE_ARGS+= --disable-alsa --disable-alsa9
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-MAN6= crossfire-client-gtk2.6
-
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e '/#include <curl\/types.h>/d' \
${WRKSRC}/common/metaserver.c
@@ -36,8 +34,8 @@ post-patch:
post-install:
${CP} ${WRKSRC}/pixmaps/48x48.png ${WRKSRC}/pixmaps/crossfire-client.png
${INSTALL_DATA} ${WRKSRC}/gtk-v2/crossfire-client.desktop \
- ${PREFIX}/share/applications
+ ${STAGEDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/pixmaps/crossfire-client.png \
- ${PREFIX}/share/pixmaps
+ ${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>
diff --git a/games/crossfire-client/pkg-plist b/games/crossfire-client/pkg-plist
index bf07b6763db5..ea095b858725 100644
--- a/games/crossfire-client/pkg-plist
+++ b/games/crossfire-client/pkg-plist
@@ -1,7 +1,7 @@
bin/cfsndserv
bin/crossfire-client-gtk2
+man/man6/crossfire-client-gtk2.6.gz
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
@@ -16,6 +16,7 @@ share/pixmaps/crossfire-client.png
%%DATADIR%%/glade-gtk2/v1-redux.glade
%%DATADIR%%/themes/Black
%%DATADIR%%/themes/Standard
-@dirrm %%DATADIR%%/glade-gtk2
-@dirrm %%DATADIR%%/themes
-@dirrm %%DATADIR%%
+share/pixmaps/crossfire-client.png
+@dirrmtry %%DATADIR%%/themes
+@dirrmtry %%DATADIR%%/glade-gtk2
+@dirrmtry %%DATADIR%%