aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libgnomekbd/Makefile
blob: 48c2cdf7a2e381b192eda4d034fa157c29c19b53 (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
33
34
35
36
37
38
# New ports collection makefile for:    libgnomekbd
# Date created:     2006-11-07
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/x11/libgnomekbd/Makefile,v 1.19 2008/03/20 13:08:28 marcus Exp $
#

PORTNAME=   libgnomekbd
PORTVERSION=    2.22.0
PORTREVISION=   1
CATEGORIES= x11 gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME keyboard shared library

LIB_DEPENDS=    xklavier.12:${PORTSDIR}/x11/libxklavier \
        dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib

USE_BZIP2=  yes
USE_GNOME=  libgnomeui gnometarget gnomeprefix gnomehack ltverhack
USE_AUTOTOOLS=  libtool:15
INSTALLS_ICONS= yes
USE_GETTEXT=    yes
USE_LDCONFIG=   yes
USE_GMAKE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=  desktop_gnome_peripherals_keyboard_xkb.schemas

post-patch:
    @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
            's|-Werror||g'

.include <bsd.port.mk>