# Created by: HU Dong # $FreeBSD: head/devel/streamhtmlparser/Makefile 393429 2015-08-02 15:03:19Z tijl $ PORTNAME= streamhtmlparser PORTVERSION= 0.1 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GOOGLE_CODE MAINTAINER= itechbear@gmail.com COMMENT= C/C++/Python streaming HTML parser library from Google LICENSE= BSD2CLAUSE USES= gmake GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS+=--enable-shared OPTIONS_DEFINE= DOCS STATIC PYBINDINGS PYBINDINGS_DESC=Install Python bindings STATIC_DESC= Install static library OPTIONS_DEFAULT=STATIC OPTIONS_SUB= yes PYBINDINGS_USES= python PYBINDINGS_CONFIGURE_ENABLE= python PYBINDINGS_CFLAGS= -I${PYTHON_INCLUDEDIR} STATIC_CONFIGURE_ENABLE= static post-patch: @${REINPLACE_CMD} -e 's|^docdir.*|docdir = ${DOCSDIR}|' ${WRKSRC}/Makefile.in .include