aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ois/Makefile
blob: 13f5b7508b675bbb507d6e9714535732f1738669 (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:    ois
# Date created:     16 Jun 2008
# Whom:         Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#

PORTNAME=   ois
PORTVERSION=    1.2.0
PORTREVISION=   2
CATEGORIES= devel
MASTER_SITES=   SF/wgois/Source%20Release/1.2
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Object Oriented Input System

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack
USE_AUTOTOOLS=  libtool:22:env aclocal:19:env autoheader:262:env automake:19:env autoconf:262:env
USE_XORG=   x11 xaw
USE_LDCONFIG=   yes
MAKE_JOBS_SAFE= yes

CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"

WRKSRC=     ${WRKDIR}/${PORTNAME}

post-patch:
    @${REINPLACE_CMD} 's|^pkgconfigdir = .*|pkgconfigdir=$${prefix}/libdata/pkgconfig|' \
        ${WRKSRC}/Makefile.am

pre-configure:
    @cd ${WRKSRC} && ./bootstrap

.include <bsd.port.mk>