Make devel/pcre2 more complete.

Enable building of the 16 and 32-bit libraries.
enable pcre2-grep to read .gz and .bz2 files.
bump pkgrevision.
This commit is contained in:
nros 2016-01-05 20:41:34 +00:00
parent 12135fcdf9
commit e0eaa00fa2
3 changed files with 16 additions and 4 deletions

View file

@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.2 2015/12/29 14:40:20 bsiegert Exp $
# $NetBSD: Makefile,v 1.3 2016/01/05 20:41:34 nros Exp $
DISTNAME= pcre2-10.20
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ \
${MASTER_SITE_SOURCEFORGE:=pcre/}
@ -20,6 +21,13 @@ PKGCONFIG_OVERRIDE+= libpcre2-posix.pc.in
PKGCONFIG_OVERRIDE+= libpcre2-8.pc.in
PKGCONFIG_OVERRIDE+= libpcre2-32.pc.in
CONFIGURE_ARGS+= --enable-pcre2-16
CONFIGURE_ARGS+= --enable-pcre2-32
CONFIGURE_ARGS+= --enable-pcre2grep-libz
CONFIGURE_ARGS+= --enable-pcre2grep-libbz2
TEST_TARGET= check
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,11 +1,15 @@
@comment $NetBSD: PLIST,v 1.2 2015/12/29 14:40:20 bsiegert Exp $
@comment $NetBSD: PLIST,v 1.3 2016/01/05 20:41:34 nros Exp $
bin/pcre2-config
bin/pcre2grep
bin/pcre2test
include/pcre2.h
include/pcre2posix.h
lib/libpcre2-16.la
lib/libpcre2-32.la
lib/libpcre2-8.la
lib/libpcre2-posix.la
lib/pkgconfig/libpcre2-16.pc
lib/pkgconfig/libpcre2-32.pc
lib/pkgconfig/libpcre2-8.pc
lib/pkgconfig/libpcre2-posix.pc
man/man1/pcre2-config.1

View file

@ -1,11 +1,11 @@
# $NetBSD: buildlink3.mk,v 1.2 2015/12/29 14:40:20 bsiegert Exp $
# $NetBSD: buildlink3.mk,v 1.3 2016/01/05 20:41:34 nros Exp $
BUILDLINK_TREE+= pcre2
.if !defined(PCRE2_BUILDLINK3_MK)
PCRE2_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.pcre2+= pcre2>=10.20
BUILDLINK_API_DEPENDS.pcre2+= pcre2>=10.20nb1
BUILDLINK_PKGSRCDIR.pcre2?= ../../devel/pcre2
.endif # PCRE2_BUILDLINK3_MK