ports/51236: Update port: textproc/libtre to 0.5.2

KATO Tsuguru tkato at prontomail.com
Mon Apr 21 17:40:38 UTC 2003


>Number:         51236
>Category:       ports
>Synopsis:       Update port: textproc/libtre to 0.5.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 21 10:40:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.5.2

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/textproc/libtre/Makefile textproc/libtre/Makefile
--- /usr/ports/textproc/libtre/Makefile	Sat Apr 12 23:28:49 2003
+++ textproc/libtre/Makefile	Sun Apr 20 10:07:18 2003
@@ -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 at 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 -urN /usr/ports/textproc/libtre/distinfo textproc/libtre/distinfo
--- /usr/ports/textproc/libtre/distinfo	Mon Oct 14 18:02:32 2002
+++ textproc/libtre/distinfo	Fri Apr 18 18:22:38 2003
@@ -1 +1 @@
-MD5 (libtre-0.3.2.tar.bz2) = baf104b2bcda81bc7fbf3950a5b6f2e4
+MD5 (tre-0.5.2.tar.bz2) = a28e40cc8de35e1282bb9c62d7cd45a8
diff -urN /usr/ports/textproc/libtre/pkg-plist textproc/libtre/pkg-plist
--- /usr/ports/textproc/libtre/pkg-plist	Wed Nov 20 23:46:37 2002
+++ textproc/libtre/pkg-plist	Fri Apr 18 18:56:59 2003
@@ -1,4 +1,9 @@
-include/regex.h
+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
+ at dirrm include/tre
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list