aboutsummaryrefslogtreecommitdiffstats
path: root/games/gcompris2/Makefile
blob: 3bd12223adf14d5f104802d80cf6ffd736a14d46 (plain) (blame)
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
# New ports collection makefile for:    gcompris2
# Date created:             23 April 2003
# Whom:                 Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
#
# $FreeBSD$
#

PORTNAME=   gcompris2
PORTVERSION=    2.1
CATEGORIES= games gnome
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gcompris
DISTNAME=   gcompris-${PORTVERSION}

MAINTAINER= martin.klaffenboeck@gmx.at
COMMENT=    A simple Gnome2-based education game for children starting at 3

LIB_DEPENDS=    vorbis.2:${PORTSDIR}/audio/libvorbis

USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_LIBTOOL=    yes
USE_REINPLACE=  yes
USE_GNOME=      gnomehack gnomeprefix libgnomeui
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
         s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>