# Created by: Hye-Shik Chang # $FreeBSD: head/devel/py-plex/Makefile 559531 2020-12-28 23:02:12Z antoine $ PORTNAME= plex PORTVERSION= 1.1.5 CATEGORIES= devel python MASTER_SITES= http://www.cosc.canterbury.ac.nz/greg.ewing/python/Plex/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Plex-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Lexical Analysis Module for Python USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes NO_WRKSUBDIR= yes DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-extract: @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${FILESDIR}/setup.py \ > ${WRKSRC}/setup.py post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR} .include