ports/devel/py-lxml/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

44 lines
1 KiB
Makefile

# Created by: Robert Gogolok <gogo@cs.uni-sb.de>
# $FreeBSD$
PORTNAME= lxml
PORTVERSION= 4.3.4
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg@FreeBSD.org
COMMENT= Pythonic binding for the libxml2 and libxslt libraries
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/doc/licenses/BSD.txt
USES= compiler gnome python uniquefiles:dirs
USE_GNOME= libxml2 libxslt
USE_PYTHON= autoplist concurrent distutils
LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib
DOCS_FILES= CHANGES.txt CREDITS.txt TODO.txt README.rst
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install:
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
-name '*.so' -exec ${STRIP_CMD} {} +
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS_FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR}
.include <bsd.port.pre.mk>
# if using gcc, force modern GCC due to use of #pragma
.if ${CHOSEN_COMPILER_TYPE} == gcc
USE_GCC= yes
.endif
.include <bsd.port.post.mk>