42 lines
943 B
Makefile
Raw Normal View History

2014-07-08 08:30:24 +00:00
# $OpenBSD: Makefile,v 1.52 2014/07/08 08:30:24 robert Exp $
COMMENT= perl-compatible regular expression library
2000-06-20 18:54:51 +00:00
2014-07-08 08:30:24 +00:00
DISTNAME= pcre-8.35
2007-06-13 07:19:06 +00:00
SHARED_LIBS += pcre 3.0 # 0.1
SHARED_LIBS += pcre16 0.0 # 0.0
SHARED_LIBS += pcreposix 1.5 # 0.0
SHARED_LIBS += pcrecpp 3.3 # 0.0
CATEGORIES= devel
DPB_PROPERTIES= parallel
2004-01-14 17:21:52 +00:00
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ \
${MASTER_SITE_SOURCEFORGE:=pcre/}
2000-06-20 18:54:51 +00:00
HOMEPAGE= http://www.pcre.org/
MAINTAINER= Robert Nagy <robert@openbsd.org>
2000-06-20 18:54:51 +00:00
# BSD
2000-06-20 18:54:51 +00:00
PERMIT_PACKAGE_CDROM= Yes
2010-07-02 10:32:55 +00:00
WANTLIB += c curses m readline stdc++
2000-06-20 18:54:51 +00:00
2010-11-15 19:45:56 +00:00
USE_GROFF = Yes
2004-01-14 17:21:52 +00:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-pcre8 \
--enable-pcre16 \
--enable-utf \
2014-07-08 08:30:24 +00:00
--enable-unicode-properties \
--enable-pcretest-libreadline
2000-06-20 18:54:51 +00:00
2008-02-20 07:42:32 +00:00
# XXX compiler bugs
.if ${MACHINE_ARCH} == "vax"
2008-02-20 07:42:32 +00:00
CFLAGS+= -O0
.endif
2000-06-20 18:54:51 +00:00
.include <bsd.port.mk>