diff options
Diffstat (limited to 'textproc/libtre')
-rw-r--r-- | textproc/libtre/Makefile | 21 | ||||
-rw-r--r-- | textproc/libtre/distinfo | 2 | ||||
-rw-r--r-- | textproc/libtre/pkg-plist | 10 |
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 |