summaryrefslogblamecommitdiffstats
path: root/accessibility/caribou/Makefile
blob: df75834b98f2842a183c6fa5f942908f5be08058 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                           
           


                       
                     






                                        

                                 


                                                                    
                                                  
                                                       
                                                                    

                   
                   
                    

                   


                                                                            
                   

                                      






                                                                  
                                                      
                                                 



                                                      
                      
# New ports collection makefile for:   caribou
# Date created:         10 Juni 2010
# Whom:             Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#    $MCom$
#

PORTNAME=   caribou
PORTVERSION=    0.4.3
CATEGORIES= accessibility gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Gnome On-Screen keyboard

LICENSE=    LGPL20
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS=    clutter-glx-1.0.0:${PORTSDIR}/graphics/clutter \
        gee.2:${PORTSDIR}/devel/libgee06 \
        xklavier.12:${PORTSDIR}/x11/libxklavier
RUN_DEPENDS=    py*-atspi>=2.1.91:${PORTSDIR}/accessibility/py-atspi

USE_XZ=     yes
USE_GMAKE=  yes
MAKE_JOBS_UNSAFE=yes
USE_GETTEXT=    yes
USE_PYTHON= yes
USE_XORG=   x11 xtst
USE_GNOME=  gnomehack intltool pygobject3 gtk30 intlhack gnomedocutils \
        libxml2
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-gtk2-module=no
GLIB_SCHEMAS=   org.gnome.caribou.gschema.xml \
        org.gnome.antler.gschema.xml

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' \
        ${WRKSRC}/tools/*.py
    @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' \
        -e 's|$${BASH_SOURCE\[0\]}|.|g' \
        ${WRKSRC}/bin/antler-keyboard.in \
        ${WRKSRC}/bin/caribou-preferences.in \
        ${WRKSRC}/bin/caribou.in

.include <bsd.port.mk>