mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Support GCONF_SCHEMAS properly
PR: 107997 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
6e2cd343f4
commit
ff02ac0802
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182666
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= glchess
|
||||
PORTVERSION= 1.0.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -17,14 +18,18 @@ COMMENT= A 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
|
||||
|
||||
USE_GNOME= gconf2
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
USE_GETTEXT= yes
|
||||
|
||||
GCONF_SCHEMAS= glchess.schemas
|
||||
|
||||
post-patch:
|
||||
@${GREP} -lR "/usr/share/games/glchess" ${WRKSRC} | ${XARGS} \
|
||||
${REINPLACE_CMD} -e 's|/usr/share/games/glchess|${DATADIR}|g'
|
||||
@${REINPLACE_CMD} -e 's|share/games|share|g' ${WRKSRC}/setup.py
|
||||
@${REINPLACE_CMD} -e 's|share/games/glchess|share/glchess|g ; \
|
||||
s|share/gconf/schemas|etc/gconf/schemas|g' ${WRKSRC}/setup.py
|
||||
|
||||
post-build:
|
||||
@(for lang in `${MAKE} -f ${WRKSRC}/Makefile -V LANGUAGES` ; do \
|
||||
|
@ -105,7 +105,6 @@ bin/glchess
|
||||
%%PYTHON_SITELIBDIR%%/glchess/ui/ui.pyc
|
||||
%%PYTHON_SITELIBDIR%%/glchess/ui/ui.pyo
|
||||
share/applications/glchess.desktop
|
||||
share/gconf/schemas/glchess.schemas
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
@ -198,8 +197,6 @@ share/pixmaps/glchess.svg
|
||||
@dirrm %%DATADIR%%/gui
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrmtry share/applications
|
||||
@dirrmtry share/gconf/schemas
|
||||
@dirrmtry share/gconf
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/glchess/ui
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/glchess/scene/opengl
|
||||
|
Loading…
Reference in New Issue
Block a user