summaryrefslogtreecommitdiffstats
path: root/textproc/libtre
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-05-01 23:10:50 +0000
committernaddy <naddy@FreeBSD.org>2003-05-01 23:10:50 +0000
commite3ab88826dee6fa9d991403d63473161d154ee7d (patch)
tree329cc4934e1b2b19b84c14a61eabfc9983d8e477 /textproc/libtre
parentd6603324cf17c4cb39486325df351a647c4d688a (diff)
downloadFreeBSD-ports-e3ab88826dee6fa9d991403d63473161d154ee7d.zip
FreeBSD-ports-e3ab88826dee6fa9d991403d63473161d154ee7d.tar.gz
Update to version 0.5.2
PR: 51236 Submitted by: Ports Fury
Diffstat (limited to 'textproc/libtre')
-rw-r--r--textproc/libtre/Makefile21
-rw-r--r--textproc/libtre/distinfo2
-rw-r--r--textproc/libtre/pkg-plist10
3 files changed, 24 insertions, 9 deletions
diff --git a/textproc/libtre/Makefile b/textproc/libtre/Makefile
index 237bec3..c5a48d0 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 <bsd.port.pre.mk>
+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 <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/textproc/libtre/distinfo b/textproc/libtre/distinfo
index 4a3938f..ce0757d 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 33df4a3..2bd794f 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
OpenPOWER on IntegriCloud