summaryrefslogtreecommitdiffstats
path: root/x11/gswitchit/Makefile
blob: 5930c88355b78a31e1d4cfd6d4d856e9cf36fc7a (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
# Ports collection Makefile for:    gswitchit
# Date created:             15 May 2003
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gswitchit
PORTVERSION=    2.0.31
CATEGORIES= x11 gnome
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gswitchit

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A simple keyboard state indicator and switcher for GNOME Desktop

LIB_DEPENDS=    xklavier.5:${PORTSDIR}/x11/libxklavier
RUN_DEPENDS=    ${X11BASE}/lib/X11/xkb/rules/xfree86.xml:${PORTSDIR}/x11/XFree86-4-clients

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

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

.include <bsd.port.mk>