dbbfc7889a
- If a port has another upstream, remove GOOGLE_CODE - If a port only has GOOGLE_CODE mark it BROKEN Some ports have a local mirror configured but for security reasons, it is not considered upstream. Sponsored by: Absolight
37 lines
820 B
Makefile
37 lines
820 B
Makefile
# 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)
|
|
|
|
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>
|