Adapt gcompris_helpdir because using share/gnome/help is wrong when we don't

provide xml file(s) for yelp. Use the regular share/doc/PKGNAME.
Drop dependency on yelp.
This commit is contained in:
ajacoutot 2011-05-11 15:14:10 +00:00
parent 5cdba91893
commit 559c22be94
2 changed files with 14 additions and 10 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.36 2011/01/14 21:29:42 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.37 2011/05/11 15:14:10 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= educational game for children
DISTNAME= gcompris-9.5
REVISION= 0
CATEGORIES= games education
@ -41,15 +42,15 @@ LIB_DEPENDS= ${MODPY_LIB_DEPENDS} \
net/gnet \
databases/sqlite3 \
gstreamer->=0.10,<0.11:multimedia/gstreamer-0.10/core \
x11/gnome/librsvg
x11/gnome/librsvg \
x11/gtk+2
RUN_DEPENDS= games/gnuchess \
databases/py-sqlite2 \
x11/py-gtk2 \
games/tuxpaint \
cad/gnucap \
devel/desktop-file-utils \
multimedia/gstreamer-0.10/plugins-base \
x11/gnome/yelp
multimedia/gstreamer-0.10/plugins-base
USE_LIBTOOL= Yes
USE_GMAKE= Yes
@ -74,6 +75,9 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-py-build-only \
--with-python=${MODPY_BIN}
# don't install under share/gnome/help/, there is no yelp (xml) file
FAKE_FLAGS= gcompris_helpdir=${PREFIX}/share/doc/gcompris/html
pre-configure:
${SUBST_CMD} ${WRKSRC}/src/chess_computer-activity/chess.c \
${WRKSRC}/src/electric-activity/electric.py

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.13 2011/01/14 21:29:42 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.14 2011/05/11 15:14:10 ajacoutot Exp $
@bin bin/gcompris
@info info/gcompris.info
lib/gcompris/
@ -95,6 +95,11 @@ lib/gcompris/libwordsgame.so
@man man/man6/gcompris.6
share/applications/gcompris-edit.desktop
share/applications/gcompris.desktop
share/doc/gcompris/
share/doc/gcompris/html/
share/doc/gcompris/html/gcompris.html
share/doc/gcompris/html/overview.jpg
share/doc/gcompris/html/topic.dat
share/gcompris/
share/gcompris/boards/
@comment share/gcompris/boards/README
@ -9000,11 +9005,6 @@ share/gcompris/python/searace.py
share/gcompris/python/sudoku.py
share/gcompris/python/tuxpaint.py
share/gcompris/python/watercycle.py
share/gnome/help/gcompris/
share/gnome/help/gcompris/eu/
share/gnome/help/gcompris/eu/gcompris.html
share/gnome/help/gcompris/eu/overview.jpg
share/gnome/help/gcompris/eu/topic.dat
share/locale/af/LC_MESSAGES/gcompris.mo
share/locale/am/LC_MESSAGES/gcompris.mo
share/locale/ar/LC_MESSAGES/gcompris.mo