freebsd-ports/devel/py-optik/Makefile
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

35 lines
828 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= optik
PORTVERSION= 1.5.3
CATEGORIES= devel python
MASTER_SITES= SF
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line parsing library for Python
LICENSE= BSD3CLAUSE
USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/test
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/test/* ${STAGEDIR}${DOCSDIR}/test
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>