summaryrefslogtreecommitdiffstats
path: root/accessibility/gnopernicus/Makefile
blob: 3d262f2c07ec9ce2d9a3aeba5bfcc7b1e7f4bebf (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
39
40
41
42
# New ports collection makefile for:    gnopernicus
# Date created:             11 May 2003
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/accessibility/gnopernicus/Makefile,v 1.70 2006/03/02 20:08:31 mezz Exp $
#

PORTNAME=   gnopernicus
PORTVERSION=    1.0.3
CATEGORIES= accessibility x11 gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.0
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Collection of accessibility apps for GNOME 2

LIB_DEPENDS=    gnome-mag.2:${PORTSDIR}/accessibility/gnomemag

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

GCONF_SCHEMAS=  brlmonitor.schemas gnopernicus.schemas remote.schemas
SHLIB_VERSION=  3
PLIST_SUB=  SHLIB_VERSION=${SHLIB_VERSION}

post-patch:
    @${REINPLACE_CMD} -e 's|^F||' \
        ${WRKSRC}/help/braille_monitor/C/brlmonitor-C.omf \
        ${WRKSRC}/help/braille_monitor/es/brlmonitor-es.omf
    @${CP} ${FILESDIR}/gnopernicus-mag-config ${WRKSRC}/gnopi

.include <bsd.port.mk>