2019-01-06 09:47:39 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2019/01/06 09:47:39 ajacoutot Exp $
|
2013-12-24 20:43:25 +00:00
|
|
|
|
|
|
|
COMMENT = URI parsing library
|
|
|
|
|
2019-01-06 09:47:39 +00:00
|
|
|
DISTNAME = uriparser-0.9.1
|
2018-02-10 13:55:24 +00:00
|
|
|
WRKDIST = ${WRKDIR}/uriparser-${DISTNAME}
|
2013-12-24 20:43:25 +00:00
|
|
|
|
2018-10-28 09:13:30 +00:00
|
|
|
SHARED_LIBS += uriparser 2.0 # 1.23
|
2013-12-24 20:43:25 +00:00
|
|
|
|
|
|
|
CATEGORIES = www
|
|
|
|
|
2018-02-09 00:18:20 +00:00
|
|
|
HOMEPAGE = https://uriparser.github.io/
|
2013-12-24 20:43:25 +00:00
|
|
|
|
|
|
|
# BSD 3-clause
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
|
|
|
WANTLIB += c
|
|
|
|
|
2018-02-10 13:55:24 +00:00
|
|
|
MASTER_SITES = https://github.com/uriparser/uriparser/archive/
|
2013-12-24 20:43:25 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE = gnu
|
2015-05-02 17:18:30 +00:00
|
|
|
CONFIGURE_ARGS = --disable-doc
|
2013-12-24 20:43:25 +00:00
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
|
2018-10-28 09:13:30 +00:00
|
|
|
# requires Google test (gtest)
|
|
|
|
CONFIGURE_ARGS += --disable-test
|
|
|
|
|
2018-02-10 13:55:24 +00:00
|
|
|
AUTOCONF_VERSION = 2.69
|
|
|
|
AUTOMAKE_VERSION = 1.15
|
|
|
|
BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
|
|
|
|
${MODGNU_AUTOMAKE_DEPENDS} \
|
|
|
|
devel/libtool
|
|
|
|
|
|
|
|
pre-configure:
|
2018-08-20 07:15:26 +00:00
|
|
|
cd ${WRKSRC} && env -i ${AUTOCONF_ENV} autoreconf -fi
|
2018-02-10 13:55:24 +00:00
|
|
|
|
2013-12-24 20:43:25 +00:00
|
|
|
.include <bsd.port.mk>
|