blob: 0c04ec3c4ee4b525e9ee323fa080c4ef3c6fd299 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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:textproc/texi2html \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3
LIB_DEPENDS= libvorbis.so:audio/libvorbis \
libao.so:audio/libao \
libassetml.so:devel/libassetml \
libdbus-glib-1.so:devel/dbus-glib
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
gnucap: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>
|