diff options
author | decke <decke@FreeBSD.org> | 2014-01-28 00:26:08 +0800 |
---|---|---|
committer | decke <decke@FreeBSD.org> | 2014-01-28 00:26:08 +0800 |
commit | 11c2481d38cf3eebc405ad54e8b5005d1ea588fd (patch) | |
tree | 3a7db04791f2bc1db8e1bcfe201d2962bebc02f5 | |
parent | 1816ad8a326b045263d050db39a69e70cc02dbe7 (diff) | |
download | freebsd-ports-gnome-11c2481d38cf3eebc405ad54e8b5005d1ea588fd.tar.gz freebsd-ports-gnome-11c2481d38cf3eebc405ad54e8b5005d1ea588fd.tar.zst freebsd-ports-gnome-11c2481d38cf3eebc405ad54e8b5005d1ea588fd.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)
-rw-r--r-- | games/crossfire-client/Makefile | 12 | ||||
-rw-r--r-- | games/crossfire-client/pkg-plist | 9 |
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%% |