aboutsummaryrefslogtreecommitdiff
path: root/textproc/libtre
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-04-10 19:35:12 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-04-10 19:35:12 +0000
commitaa248bc73c24861819c4d3ce9691171f979af05e (patch)
tree2d6f9927b9e74f18afc3afa393295e2cc9eabdb8 /textproc/libtre
parent7e9c6efc205df9b61814a0efc44f7275f9a57400 (diff)
downloadports-aa248bc73c24861819c4d3ce9691171f979af05e.tar.gz
ports-aa248bc73c24861819c4d3ce9691171f979af05e.zip
Notes
Diffstat (limited to 'textproc/libtre')
-rw-r--r--textproc/libtre/Makefile25
-rw-r--r--textproc/libtre/distinfo6
2 files changed, 15 insertions, 16 deletions
diff --git a/textproc/libtre/Makefile b/textproc/libtre/Makefile
index 04111d6f5e7f..802c528d31d8 100644
--- a/textproc/libtre/Makefile
+++ b/textproc/libtre/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= libtre
-PORTVERSION= 0.7.2
-PORTREVISION= 1
+PORTVERSION= 0.7.3
CATEGORIES= textproc
MASTER_SITES= http://laurikari.net/tre/
DISTNAME= tre-${PORTVERSION}
@@ -17,29 +16,29 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A lightweight fully POSIX compliant regexp matching library
USE_BZIP2= yes
-USE_GNOME= gnomehack gnometarget pkgconfig lthack
-USE_GETOPT_LONG=yes
+USE_GNOME= gnomehack gnometarget pkgconfig
+USE_GETOPT_LONG= yes
USE_AUTOTOOLS= libtool:15
-USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
CPPFLAGS= -I${LOCALBASE}/include
-LDFLAGS= -L${LOCALBASE}/lib -lintl
+LDFLAGS= -L${LOCALBASE}/lib
MAN1= agrep.1
-.if !defined(WITHOUT_NLS)
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
-.else
-BROKEN= Does not build without gettext
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
.endif
-.ifdef WITH_OPTIMIZED_CFLAGS
-CFLAGS+= -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations -fforce-mem -fforce-addr -O3
+.if defined(WITH_OPTIMIZED_CFLAGS)
+CFLAGS+= -Wuninitialized -ffast-math -finline-functions \
+ -fomit-frame-pointer -fexpensive-optimizations \
+ -fforce-mem -fforce-addr -O3
.endif
pre-everything::
diff --git a/textproc/libtre/distinfo b/textproc/libtre/distinfo
index 0857b0febf9b..fb8b185b59e2 100644
--- a/textproc/libtre/distinfo
+++ b/textproc/libtre/distinfo
@@ -1,3 +1,3 @@
-MD5 (tre-0.7.2.tar.bz2) = 273c3f2b46cc2dfade1b2328c24554ec
-SHA256 (tre-0.7.2.tar.bz2) = 51a29d832fc6552e706e6c7e7f9c3171577d530279d0eaf47e48bc69442bc531
-SIZE (tre-0.7.2.tar.bz2) = 344592
+MD5 (tre-0.7.3.tar.bz2) = 3f6e8989ec5ee336c0d2ecd9f38592c7
+SHA256 (tre-0.7.3.tar.bz2) = 1912b0b83cff5f6474de511d4394601a3fce5776acd047e6e258199bde85bdfb
+SIZE (tre-0.7.3.tar.bz2) = 350284