1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/comms/py-serial/Makefile
Max Brazhnikov 312b3b9c38 comms/py-serial:
- Use options helpers
- Fix packaging with python3
- Add patch to make tools.list_ports usable on FreeBSD (committed upstream)

PR:		202887
Approved by:	sbz (maintainer timeout 5 weeks)
2015-10-13 20:35:29 +00:00

31 lines
778 B
Makefile

# Created by: Hye-Shik Chang <perky@fallin.lv>
# $FreeBSD$
PORTNAME= serial
PORTVERSION= 2.7
PORTREVISION= 1
CATEGORIES= comms python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= sbz@FreeBSD.org
COMMENT= Serial port encapsulation library for Python
USES= dos2unix python
USE_PYTHON= concurrent distutils py3kplist pythonprefix
PYDISTUTILS_PKGNAME= py${PORTNAME}
DOS2UNIX_FILES= serial/tools/list_ports_posix.py
OPTIONS_DEFINE= DOCS EXAMPLES
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>