aboutsummaryrefslogtreecommitdiff
path: root/games/xmoto
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-04 01:57:47 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-04 01:57:47 +0000
commitd8b150567bf985ed59295ef851aa8cff0fa2ea6e (patch)
tree1a2f95d58df2ea8379eaf2a92b99bd71b9d03071 /games/xmoto
parent8d4817e69d8c23bae3587362a9eef0b65aa899f4 (diff)
downloadports-d8b150567bf985ed59295ef851aa8cff0fa2ea6e.tar.gz
ports-d8b150567bf985ed59295ef851aa8cff0fa2ea6e.zip
Notes
Diffstat (limited to 'games/xmoto')
-rw-r--r--games/xmoto/Makefile18
-rw-r--r--games/xmoto/pkg-plist16
2 files changed, 9 insertions, 25 deletions
diff --git a/games/xmoto/Makefile b/games/xmoto/Makefile
index af8d583da187..42984e47cbe8 100644
--- a/games/xmoto/Makefile
+++ b/games/xmoto/Makefile
@@ -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_LIBDIR}
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
diff --git a/games/xmoto/pkg-plist b/games/xmoto/pkg-plist
index 9439f8c65278..648e5f2ba959 100644
--- a/games/xmoto/pkg-plist
+++ b/games/xmoto/pkg-plist
@@ -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