aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libtre/Makefile
blob: 793da3a645f674ab78f024c778cbb5bef64cc2d9 (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
# ex:ts=8
# Ports collection makefile for:    libtre
# Date created:         Oct 14, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   libtre
PORTVERSION=    0.5.3
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   http://kouli.iki.fi/~vlaurika/tre/
DISTNAME=   tre-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A lightweight fully POSIX compliant regexp matching library

LIB_DEPENDS=    intl.5:${PORTSDIR}/devel/gettext

USE_BZIP2=  yes
USE_GNOME=  gnomehack gnometarget pkgconfig
USE_GETOPT_LONG=    yes
USE_LIBTOOL=    yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes

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

post-patch:
    @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure

.include <bsd.port.mk>