aboutsummaryrefslogtreecommitdiffstats
path: root/games/trophy
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2012-03-13 18:35:39 +0800
committermakc <makc@FreeBSD.org>2012-03-13 18:35:39 +0800
commitf218ec7e25bf722a6b96b4b254cd89d040330084 (patch)
tree8c7628eca80f03559a7b1c0ff2a43ec25d59ae91 /games/trophy
parent3a63da15cee2d62ef6087283b7d08adc52c1345c (diff)
downloadfreebsd-ports-gnome-f218ec7e25bf722a6b96b4b254cd89d040330084.tar.gz
freebsd-ports-gnome-f218ec7e25bf722a6b96b4b254cd89d040330084.tar.zst
freebsd-ports-gnome-f218ec7e25bf722a6b96b4b254cd89d040330084.zip
Update to 2.0.3
Take maintainership Feature safe: yes
Diffstat (limited to 'games/trophy')
-rw-r--r--games/trophy/Makefile26
-rw-r--r--games/trophy/distinfo4
-rw-r--r--games/trophy/pkg-plist24
3 files changed, 39 insertions, 15 deletions
diff --git a/games/trophy/Makefile b/games/trophy/Makefile
index f61b7be2b7cf..f697192802ac 100644
--- a/games/trophy/Makefile
+++ b/games/trophy/Makefile
@@ -1,38 +1,38 @@
# New ports collection makefile for: trophy
-# Date created: 22 Jan 2004
+# Date created: 2004-01-24
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
#
-# $Carpetsmoker: ports/games/trophy/Makefile,v 1.3 2007/08/04 03:36:57 carpetsmoker Exp $
# $FreeBSD$
#
PORTNAME= trophy
-PORTVERSION= 1.1.7
+PORTVERSION= 2.0.3
CATEGORIES= games
MASTER_SITES= SF
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= makc@FreeBSD.org
COMMENT= A single player racing game
LICENSE= GPLv2
LIB_DEPENDS= clanCore-0.8:${PORTSDIR}/devel/clanlib
-HAS_CONFIGURE= yes
-PORTDOCS= AUTHORS COPYING ChangeLog README TODO
-
+GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_ARGS= --prefix="${PREFIX}" --exec-prefix="${PREFIX}"
-DESKTOP_ENTRIES="Trophy" "${COMMENT}" "" "trophy" "Application;Game;" false
+MAN6= trophy.6
+
+PORTDOCS= AUTHORS COPYING ChangeLog README TODO
+
+pre-configure:
+ ${REINPLACE_CMD} -e "/^icondir =/s,icons,pixmaps," \
+ ${WRKSRC}/resources/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
+ ${MKDIR} ${DOCSDIR} && \
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/games/trophy/distinfo b/games/trophy/distinfo
index 44859303b2a5..21dca6df374d 100644
--- a/games/trophy/distinfo
+++ b/games/trophy/distinfo
@@ -1,2 +1,2 @@
-SHA256 (trophy-1.1.7.tar.gz) = 365b419e84cc980c39b6cf01fa2b5b2ea944a5c9373304e5c93b2d57c0d36ef3
-SIZE (trophy-1.1.7.tar.gz) = 14406657
+SHA256 (trophy-2.0.3.tar.gz) = 1fc8311458f86abeae51d7b47db8f95221bea737ea782786892cc36677a97030
+SIZE (trophy-2.0.3.tar.gz) = 14780127
diff --git a/games/trophy/pkg-plist b/games/trophy/pkg-plist
index 1d6faaf50c62..1a146231ff2c 100644
--- a/games/trophy/pkg-plist
+++ b/games/trophy/pkg-plist
@@ -1,4 +1,6 @@
bin/trophy
+share/applications/trophy.desktop
+share/pixmaps/trophy.png
%%DATADIR%%/cars/dust.tga
%%DATADIR%%/cars/flash2/surface.tga
%%DATADIR%%/cars/flash2/surface3d.tga
@@ -42,12 +44,14 @@ bin/trophy
%%DATADIR%%/misc/checkflag.tga
%%DATADIR%%/misc/cross.tga
%%DATADIR%%/misc/dust.tga
+%%DATADIR%%/misc/flag.tga
%%DATADIR%%/misc/fog.tga
%%DATADIR%%/misc/gunfire.tga
%%DATADIR%%/misc/hitpoint.tga
%%DATADIR%%/misc/info.tga
%%DATADIR%%/misc/light.tga
%%DATADIR%%/misc/verticalbar.tga
+%%DATADIR%%/panel/bullets.tga
%%DATADIR%%/panel/button.tga
%%DATADIR%%/panel/death.tga
%%DATADIR%%/panel/infoview.tga
@@ -114,6 +118,25 @@ bin/trophy
%%DATADIR%%/tracks/Zurich/fmap.tga
%%DATADIR%%/tracks/Zurich/thumb.tga
%%DATADIR%%/tracks/Zurich/vmap.tga
+%%DATADIR%%/upgrades/armors/armor_1.tga
+%%DATADIR%%/upgrades/armors/armor_2.tga
+%%DATADIR%%/upgrades/armors/armor_3.tga
+%%DATADIR%%/upgrades/armors/armor_4.tga
+%%DATADIR%%/upgrades/armors/armor_5.tga
+%%DATADIR%%/upgrades/motors/motor_1.tga
+%%DATADIR%%/upgrades/motors/motor_2.tga
+%%DATADIR%%/upgrades/motors/motor_3.tga
+%%DATADIR%%/upgrades/motors/motor_4.tga
+%%DATADIR%%/upgrades/motors/motor_5.tga
+%%DATADIR%%/upgrades/tires/tires_1.tga
+%%DATADIR%%/upgrades/tires/tires_2.tga
+%%DATADIR%%/upgrades/tires/tires_3.tga
+%%DATADIR%%/upgrades/tires/tires_4.tga
+%%DATADIR%%/upgrades/tires/tires_5.tga
+@dirrm %%DATADIR%%/upgrades/tires
+@dirrm %%DATADIR%%/upgrades/motors
+@dirrm %%DATADIR%%/upgrades/armors
+@dirrm %%DATADIR%%/upgrades
@dirrm %%DATADIR%%/tracks/Zurich
@dirrm %%DATADIR%%/tracks/Zigzag
@dirrm %%DATADIR%%/tracks/Snake
@@ -136,3 +159,4 @@ bin/trophy
@dirrm %%DATADIR%%/cars/flash2
@dirrm %%DATADIR%%/cars
@dirrm %%DATADIR%%
+@dirrmtry share/applications