1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/games/gcompris/Makefile
Koop Mast a62cb55342 Update gcompris to 15.10.
- update to 15.10. This release brings locale detection bug
- update master site - they do not upload new releases to SF anymore
- add LICENSE_FILE
- replace CFLAGS/LDFLAGS with USES=localbase

PR:		207006
Submitted by:	rm@
2016-02-14 21:07:04 +00:00

41 lines
1.2 KiB
Makefile

# Created by: Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
# $FreeBSD$
PORTNAME= gcompris
PORTVERSION= 15.10
CATEGORIES= games gnome
MASTER_SITES= http://gcompris.net/download/
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gnome2 educational games and activities for kids ages 2 to 10
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= texi2html:${PORTSDIR}/textproc/texi2html \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis \
libao.so:${PORTSDIR}/audio/libao \
libassetml.so:${PORTSDIR}/devel/libassetml \
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
gnucap:${PORTSDIR}/cad/gnucap
USES= display:configure gettext gmake libtool localbase pathfix \
pkgconfig python:2 shebangfix sqlite tar:bzip2
SHEBANG_FILES= boards/voices/*.sh
GNU_CONFIGURE= yes
USE_GSTREAMER= yes
USE_SDL= mixer
USE_GNOME= intlhack gnomeprefix gtk20 pygtk2 libxml2 librsvg2
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/src/gcompris/gcompris.c
@${FIND} ${WRKSRC} -type f -name "*.bak" -delete
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gcompris/lib*.so
.include <bsd.port.mk>