aboutsummaryrefslogtreecommitdiff
path: root/textproc/libtre
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-05-01 23:10:50 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-05-01 23:10:50 +0000
commit3247d8d46fea6b22465aa37efd9fd7181534d275 (patch)
tree08297d4f261162727a5505e6a10dc1753a0e8242 /textproc/libtre
parent2209be26af8448b8858368646d6effe2cd7b48ce (diff)
downloadports-3247d8d46fea6b22465aa37efd9fd7181534d275.tar.gz
ports-3247d8d46fea6b22465aa37efd9fd7181534d275.zip
Notes
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 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 <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 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