Date: Sat, 25 Jan 2014 00:15:59 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340959 - head/devel/streamhtmlparser Message-ID: <201401250015.s0P0FxwR009513@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sat Jan 25 00:15:58 2014 New Revision: 340959 URL: http://svnweb.freebsd.org/changeset/ports/340959 QAT: https://qat.redports.org/buildarchive/r340959/ Log: Support stage Use options helpers Modified: head/devel/streamhtmlparser/Makefile Modified: head/devel/streamhtmlparser/Makefile ============================================================================== --- head/devel/streamhtmlparser/Makefile Sat Jan 25 00:08:27 2014 (r340958) +++ head/devel/streamhtmlparser/Makefile Sat Jan 25 00:15:58 2014 (r340959) @@ -9,10 +9,10 @@ MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MAINTAINER= itechbear@gmail.com COMMENT= C/C++/Python streaming HTML parser library from Google -LICENSE= BSD +LICENSE= BSD2CLAUSE +USES= gmake GNU_CONFIGURE= yes -USE_GMAKE= yes USE_LDCONFIG= yes CONFIGURE_ARGS+=--enable-shared @@ -20,34 +20,15 @@ OPTIONS_DEFINE= DOCS STATIC PYBINDINGS PYBINDINGS_DESC=Install Python bindings STATIC_DESC= Install static library OPTIONS_DEFAULT=STATIC +OPTIONS_SUB= yes -NO_STAGE= yes -.include <bsd.port.options.mk> +PYBINDINGS_USE= python +PYBINDINGS_CONFIGURE_ENABLE= python +PYBINDINGS_CFLAGS= -I${PYTHON_INCLUDEDIR} -.if ${PORT_OPTIONS:MPYBINDINGS} -USE_PYTHON= yes -CONFIGURE_ARGS+=--enable-python -CFLAGS+= -I${PYTHON_INCLUDEDIR} -PLIST_SUB+= PYBINDINGS="" -.else -CONFIGURE_ARGS+=--disable-python -PLIST_SUB+= PYBINDINGS="@comment " -.endif - -.if ${PORT_OPTIONS:MSTATIC} -CONFIGURE_ARGS+=--enable-static -PLIST_SUB+= STATIC="" -.else -CONFIGURE_ARGS+=--disable-static -PLIST_SUB+= STATIC="@comment " -.endif - -.include <bsd.port.pre.mk> +STATIC_CONFIGURE_ENABLE= static post-patch: @${REINPLACE_CMD} -e 's|^docdir.*|docdir = ${DOCSDIR}|' ${WRKSRC}/Makefile.in -.if defined(NOPORTDOCS) - @${REINPLACE_CMD} -E -e '/^install-data-am/,/^$$/ s,install-dist_docDATA,,g' ${WRKSRC}/Makefile.in -.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401250015.s0P0FxwR009513>