blob: e6a589f032441de451a101cb9bcc825e6a36429e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Created by: HU Dong <itechbear@gmail.com>
# $FreeBSD$
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
BROKEN= Unfetchable (google code has gone away)
DEPRECATED= Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE= 2017-04-30
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 <bsd.port.mk>
|