aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-09 20:59:43 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-09 20:59:43 +0800
commit0917a644864dc04cda67960ce8fcd3ff51eedd22 (patch)
treeaaeecbdd12ccf6858cc08cb27a8a97e8db63c3fc /games
parent7d67a8820f6df928ed57549d6241139458497046 (diff)
downloadfreebsd-ports-gnome-0917a644864dc04cda67960ce8fcd3ff51eedd22.tar.gz
freebsd-ports-gnome-0917a644864dc04cda67960ce8fcd3ff51eedd22.tar.zst
freebsd-ports-gnome-0917a644864dc04cda67960ce8fcd3ff51eedd22.zip
1: Stagify.
2: add INSTALLS_EGGINFO, bump version.
Diffstat (limited to 'games')
-rw-r--r--games/glchess/Makefile23
-rw-r--r--games/glchess/pkg-plist2
2 files changed, 8 insertions, 17 deletions
diff --git a/games/glchess/Makefile b/games/glchess/Makefile
index 25faabd284ec..c777c1a69296 100644
--- a/games/glchess/Makefile
+++ b/games/glchess/Makefile
@@ -3,24 +3,21 @@
PORTNAME= glchess
PORTVERSION= 1.0.6
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D OpenGL based chess game
-RUN_DEPENDS= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info \
- ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/gdkgl/__init__.py:${PORTSDIR}/x11-toolkits/py-gtkglext
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/gdkgl/__init__.py:${PORTSDIR}/x11-toolkits/py-gtkglext
+USES= desktop-file-utils shared-mime-info
USE_GNOME= gconf2
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-
+INSTALLS_EGGINFO= yes
GCONF_SCHEMAS= glchess.schemas
-
-NO_STAGE= yes
-
OPTIONS_DEFINE= DOCS NLS
.include <bsd.port.options.mk>
@@ -47,17 +44,13 @@ post-build:
post-install:
@(for lang in `${MAKE} -f ${WRKSRC}/Makefile -V LANGUAGES` ; do \
- ${MKDIR} ${PREFIX}/share/locale/$$lang/LC_MESSAGES ; \
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/$$lang/LC_MESSAGES ; \
${INSTALL_DATA} ${WRKSRC}/po/$$lang.mo \
- ${PREFIX}/share/locale/$$lang/LC_MESSAGES/glchess.mo ; \
+ ${STAGEDIR}${PREFIX}/share/locale/$$lang/LC_MESSAGES/glchess.mo ; \
done)
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ChangeLog README TODO
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif #NOPORTDOCS
- @-update-mime-database ${PREFIX}/share/mime
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/games/glchess/pkg-plist b/games/glchess/pkg-plist
index 8ca857db9251..7f82e76bb6db 100644
--- a/games/glchess/pkg-plist
+++ b/games/glchess/pkg-plist
@@ -217,8 +217,6 @@ share/pixmaps/glchess.svg
@dirrm %%DATADIR%%/textures
@dirrm %%DATADIR%%/gui
@dirrm %%DATADIR%%
-%%NLS%%@dirrmtry share/locale/mg/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/mg/
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/glchess/ui
@dirrm %%PYTHON_SITELIBDIR%%/glchess/scene/opengl