openbsd-ports/devel/pcre/Makefile
2012-09-26 15:04:09 +00:00

45 lines
1003 B
Makefile

# $OpenBSD: Makefile,v 1.45 2012/09/26 15:04:09 sthen Exp $
COMMENT= perl-compatible regular expression library
DISTNAME= pcre-8.31
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
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ \
${MASTER_SITE_SOURCEFORGE:=pcre/}
HOMEPAGE= http://www.pcre.org/
MAINTAINER= Robert Nagy <robert@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c curses m readline stdc++
USE_LIBTOOL= Yes
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-pcre8 \
--enable-pcre16 \
--enable-utf \
--enable-unicode-properties
# XXX compiler bugs
.if ${MACHINE_ARCH} == "vax"
CFLAGS+= -O0
.endif
.include <bsd.port.mk>