aboutsummaryrefslogtreecommitdiffstats
path: root/accessibility/gok/Makefile
blob: dc51ecec19112183fee3d088725d40e422f64cf8 (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
# New ports collection makefile for:    gok
# Date created:         12 April 2003
# Whom:             Adam Weinberger <adamw@freebsd.org>
#
# $FreeBSD$
#    $MCom: ports/accessibility/gok/Makefile,v 1.72 2006/08/26 03:50:50 marcus Exp $
#

PORTNAME=   gok
PORTVERSION=    1.2.2
PORTEPOCH=  1
CATEGORIES= accessibility sysutils gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME On-Screen Keyboard (GOK)

USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_XLIB=   yes
INSTALLS_OMF=   yes
USE_GNOME=  gnomehack gnomeprefix intlhack libgnomeui atspi libwnck \
        gnomespeech
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"

GCONF_SCHEMAS=  gok.schemas

post-patch:
    @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' \
        ${WRKSRC}/gok/word-complete.c

.include <bsd.port.mk>