summaryrefslogtreecommitdiffstats
path: root/x11/libxklavier/Makefile
blob: 32b4973498dbdca4b40012a74c476a29c9896f0a (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
# New ports collection makefile for:    libxklavier
# Date created:             11 May 2003
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   libxklavier
PORTVERSION=    0.71
CATEGORIES= x11
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gswitchit

MAINTAINER= gnome@FreeBSD.org
COMMENT=    An utility library to make XKB stuff easier

USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_REINPLACE=  yes
USE_GNOME=  gnometarget gnomehack libxml2
INSTALLS_SHLIB= yes
USE_LIBTOOL=    yes
CONFIGURE_ARGS= --disable-doxygen
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"

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

.include <bsd.port.mk>