commit f916dde4a1a9a56b5bde2ac98c63dcd38c3befc4 Author: Kevin Zheng Date: Sun Aug 13 20:23:54 2017 -0700 games/crossfire-client: Update to 1.72.0 diff --git a/games/crossfire-client/Makefile b/games/crossfire-client/Makefile index 9bb139c05089..1e2711a52858 100644 --- a/games/crossfire-client/Makefile +++ b/games/crossfire-client/Makefile @@ -2,10 +2,11 @@ # $FreeBSD$ PORTNAME= crossfire-client -PORTVERSION= 1.71.0 -PORTREVISION= 3 +PORTVERSION= 1.72.0 CATEGORIES= games -MASTER_SITES= SF/crossfire/${PORTNAME}/${PORTVERSION} +MASTER_SITES= SF/crossfire/${PORTNAME}/${PORTVERSION}:DEFAULT,sounds +DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ + crossfire-sounds-${PORTVERSION}${EXTRACT_SUFX}:sounds MAINTAINER= kevinz5000@gmail.com COMMENT= Cooperative multiplayer graphical RPG and adventure game @@ -13,19 +14,19 @@ COMMENT= Cooperative multiplayer graphical RPG and adventure game LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING +BUILD_DEPENDS= vala:lang/vala LIB_DEPENDS= libcurl.so:ftp/curl -GNU_CONFIGURE= yes -USES= pkgconfig tar:bzip2 -USE_GL= glut +USES= cmake pkgconfig tar:bzip2 USE_GNOME= gtk20 USE_SDL= sdl image mixer +INSTALLS_ICONS= YES + +CMAKE_ARGS= -DLUA=OFF -DMETASERVER2=ON -DOPENGL=OFF -DSDL=ON -DSOUND=ON post-install: - ${CP} ${WRKSRC}/pixmaps/48x48.png ${WRKSRC}/pixmaps/crossfire-client.png - ${INSTALL_DATA} ${WRKSRC}/gtk-v2/crossfire-client.desktop \ - ${STAGEDIR}${PREFIX}/share/applications - ${INSTALL_DATA} ${WRKSRC}/pixmaps/crossfire-client.png \ - ${STAGEDIR}${PREFIX}/share/pixmaps + @${MKDIR} ${STAGEDIR}${DATADIR}/sounds + cd ${WRKDIR}/crossfire-sounds-${PORTVERSION} && \ + ${COPYTREE_SHARE} "*" ${STAGEDIR}${DATADIR}/sounds .include diff --git a/games/crossfire-client/distinfo b/games/crossfire-client/distinfo index 5f3c3ad6ef1a..a27cc8817a41 100644 --- a/games/crossfire-client/distinfo +++ b/games/crossfire-client/distinfo @@ -1,2 +1,5 @@ -SHA256 (crossfire-client-1.71.0.tar.bz2) = 5427655e756ffb48e75c1d9dc3200afab81efa7f2f00ffdf5dfee51918d5819d -SIZE (crossfire-client-1.71.0.tar.bz2) = 761156 +TIMESTAMP = 1502662309 +SHA256 (crossfire-client-1.72.0.tar.bz2) = 2e863f09be0d5480708e031afb212361f58f6827a68120ffef075b94406d73a5 +SIZE (crossfire-client-1.72.0.tar.bz2) = 352166 +SHA256 (crossfire-sounds-1.72.0.tar.bz2) = b41fbac33cbffb6850bbe497ac4d1bcbf5e514073e288f4b00af0c10e99c1d62 +SIZE (crossfire-sounds-1.72.0.tar.bz2) = 454585 diff --git a/games/crossfire-client/pkg-plist b/games/crossfire-client/pkg-plist index 2b9b4e450408..a600f13bcad2 100644 --- a/games/crossfire-client/pkg-plist +++ b/games/crossfire-client/pkg-plist @@ -1,7 +1,44 @@ bin/cfsndserv bin/crossfire-client-gtk2 -man/man6/crossfire-client-gtk2.6.gz share/applications/crossfire-client.desktop +%%DATADIR%%/sounds/COPYING +%%DATADIR%%/sounds/Creaky-1.wav +%%DATADIR%%/sounds/Evil_Laugh.wav +%%DATADIR%%/sounds/Explosion.wav +%%DATADIR%%/sounds/FloorTom.wav +%%DATADIR%%/sounds/Gun-5.wav +%%DATADIR%%/sounds/MetalCrash.wav +%%DATADIR%%/sounds/Missed.wav +%%DATADIR%%/sounds/Missle1.wav +%%DATADIR%%/sounds/Puke.wav +%%DATADIR%%/sounds/Tear.wav +%%DATADIR%%/sounds/Teeswing.wav +%%DATADIR%%/sounds/TowerClock.wav +%%DATADIR%%/sounds/Whoosh.wav +%%DATADIR%%/sounds/blip.wav +%%DATADIR%%/sounds/boink2.wav +%%DATADIR%%/sounds/bugle_charge.wav +%%DATADIR%%/sounds/chord.wav +%%DATADIR%%/sounds/claws.ogg +%%DATADIR%%/sounds/click1.wav +%%DATADIR%%/sounds/click2.wav +%%DATADIR%%/sounds/drip.wav +%%DATADIR%%/sounds/fire-spell.wav +%%DATADIR%%/sounds/first_try.wav +%%DATADIR%%/sounds/fist.ogg +%%DATADIR%%/sounds/gong.wav +%%DATADIR%%/sounds/knife.ogg +%%DATADIR%%/sounds/lightning1.wav +%%DATADIR%%/sounds/magic.wav +%%DATADIR%%/sounds/ouch1.wav +%%DATADIR%%/sounds/painb.wav +%%DATADIR%%/sounds/phit2.wav +%%DATADIR%%/sounds/sci_fi_gun.wav +%%DATADIR%%/sounds/sounds.conf +%%DATADIR%%/sounds/squish.wav +%%DATADIR%%/sounds/su-fanf.wav +%%DATADIR%%/sounds/swish.wav +%%DATADIR%%/sounds/sword-1.ogg %%DATADIR%%/themes/Black %%DATADIR%%/themes/Standard %%DATADIR%%/ui/caelestis.ui @@ -16,4 +53,6 @@ share/applications/crossfire-client.desktop %%DATADIR%%/ui/sixforty.ui %%DATADIR%%/ui/un-deux.ui %%DATADIR%%/ui/v1-redux.ui -share/pixmaps/crossfire-client.png +share/icons/hicolor/16x16/apps/crossfire-client.png +share/icons/hicolor/32x32/apps/crossfire-client.png +share/icons/hicolor/48x48/apps/crossfire-client.png