From e3ab88826dee6fa9d991403d63473161d154ee7d Mon Sep 17 00:00:00 2001 From: naddy Date: Thu, 1 May 2003 23:10:50 +0000 Subject: Update to version 0.5.2 PR: 51236 Submitted by: Ports Fury --- textproc/libtre/Makefile | 21 +++++++++++++++------ textproc/libtre/distinfo | 2 +- textproc/libtre/pkg-plist | 10 ++++++++-- 3 files changed, 24 insertions(+), 9 deletions(-) (limited to 'textproc') diff --git a/textproc/libtre/Makefile b/textproc/libtre/Makefile index 237bec34b6df..c5a48d0db16a 100644 --- a/textproc/libtre/Makefile +++ b/textproc/libtre/Makefile @@ -7,22 +7,31 @@ # PORTNAME= libtre -PORTVERSION= 0.3.2 +PORTVERSION= 0.5.2 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 +BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig +LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext +RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig + USE_BZIP2= yes +USE_GNOME= gnomehack +USE_REINPLACE= yes +USE_GETOPT_LONG= yes USE_LIBTOOL= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" INSTALLS_SHLIB= yes -.include +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib -lintl -.if ${OSVERSION} < 500028 -IGNORE= "need wchar support" -.endif +post-patch: + @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure -.include +.include diff --git a/textproc/libtre/distinfo b/textproc/libtre/distinfo index 4a3938f02646..ce0757df8ae0 100644 --- a/textproc/libtre/distinfo +++ b/textproc/libtre/distinfo @@ -1 +1 @@ -MD5 (libtre-0.3.2.tar.bz2) = baf104b2bcda81bc7fbf3950a5b6f2e4 +MD5 (tre-0.5.2.tar.bz2) = a28e40cc8de35e1282bb9c62d7cd45a8 diff --git a/textproc/libtre/pkg-plist b/textproc/libtre/pkg-plist index 33df4a3e5871..2bd794f98812 100644 --- a/textproc/libtre/pkg-plist +++ b/textproc/libtre/pkg-plist @@ -1,4 +1,10 @@ -include/regex.h +@comment $FreeBSD$ +bin/agrep +include/tre/regex.h +include/tre/tre-config.h lib/libtre.a lib/libtre.so -lib/libtre.so.0 +lib/libtre.so.3 +libdata/pkgconfig/tre.pc +share/locale/fi/LC_MESSAGES/tre.mo +@dirrm include/tre -- cgit