Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2013 01:57:47 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329258 - head/games/xmoto
Message-ID:  <201310040157.r941vlbr081587@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Oct  4 01:57:47 2013
New Revision: 329258
URL: http://svnweb.freebsd.org/changeset/ports/329258

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax
  - Convert USE_GMAKE to USES

Modified:
  head/games/xmoto/Makefile
  head/games/xmoto/pkg-plist

Modified: head/games/xmoto/Makefile
==============================================================================
--- head/games/xmoto/Makefile	Fri Oct  4 01:52:30 2013	(r329257)
+++ head/games/xmoto/Makefile	Fri Oct  4 01:57:47 2013	(r329258)
@@ -12,14 +12,14 @@ DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Challenging 2D motocross platform game
 
-LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png \
-		jpeg:${PORTSDIR}/graphics/jpeg \
-		curl:${PORTSDIR}/ftp/curl \
-		xdg-basedir:${PORTSDIR}/x11/libxdg-basedir
+LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png \
+		libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libcurl.so:${PORTSDIR}/ftp/curl \
+		libxdg-basedir.so:${PORTSDIR}/x11/libxdg-basedir
 BUILD_DEPENDS=	${LOCALBASE}/lib/libode.a:${PORTSDIR}/devel/ode
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 USE_GNOME=	libxml2
 USE_LUA=	5.1
 USE_SQLITE=	3
@@ -33,12 +33,11 @@ LDFLAGS+=	-L${LOCALBASE}/lib -L${LUA_LIB
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 PORTDOCS=	README ChangeLog
+PORTDATA=	*
 
 OPTIONS_DEFINE=	ASIAN_TTF DOCS NLS
 ASIAN_TTF_DESC=	Use asian TTF font
 
-MAN6=		xmoto.6
-
 DESKTOP_ENTRIES="XMoto" \
 		"Motorcross game" \
 		"${DATADIR}/xmoto_icone_x.ico" \
@@ -46,7 +45,6 @@ DESKTOP_ENTRIES="XMoto" \
 		"Game;SportsGame;ArcadeGame;" \
 		false
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MASIAN_TTF}
@@ -67,9 +65,9 @@ PLIST_SUB+=	NLS="@comment "
 
 .if ${PORT_OPTIONS:MDOCS}
 post-install:
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 

Modified: head/games/xmoto/pkg-plist
==============================================================================
--- head/games/xmoto/pkg-plist	Fri Oct  4 01:52:30 2013	(r329257)
+++ head/games/xmoto/pkg-plist	Fri Oct  4 01:57:47 2013	(r329258)
@@ -1,4 +1,5 @@
 bin/xmoto
+man/man6/xmoto.6.gz
 %%NLS%%share/locale/ca_AD/LC_MESSAGES/xmoto.mo
 %%NLS%%share/locale/ca_ES/LC_MESSAGES/xmoto.mo
 %%NLS%%share/locale/ca_FR/LC_MESSAGES/xmoto.mo
@@ -25,21 +26,6 @@ bin/xmoto
 %%NLS%%share/locale/sv_SE/LC_MESSAGES/xmoto.mo
 %%NLS%%share/locale/tr_TR/LC_MESSAGES/xmoto.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/xmoto.mo
-%%DATADIR%%/Textures/Fonts/DejaVuSans.ttf
-%%DATADIR%%/Textures/Fonts/DejaVuSansMono.ttf
-%%DATADIR%%/Textures/Musics/MadeiraStew.ogg
-%%DATADIR%%/Textures/Musics/batcave.ogg
-%%DATADIR%%/Textures/Musics/foxrun.ogg
-%%DATADIR%%/Textures/Musics/legolodio.ogg
-%%DATADIR%%/Textures/Musics/menu.ogg
-%%DATADIR%%/Textures/Musics/ridealong.ogg
-%%DATADIR%%/Textures/Musics/speeditup.ogg
-%%DATADIR%%/xmoto.bin
-%%DATADIR%%/xmoto_icone_x.ico
-@dirrm %%DATADIR%%/Textures/Musics
-@dirrm %%DATADIR%%/Textures/Fonts
-@dirrm %%DATADIR%%/Textures
-@dirrm %%DATADIR%%
 %%NLS%%@dirrmtry share/locale/tr_TR/LC_MESSAGES
 %%NLS%%@dirrmtry share/locale/tr_TR
 %%NLS%%@dirrmtry share/locale/sv_SE/LC_MESSAGES



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310040157.r941vlbr081587>