blob: 979cb4c183d5ca0b1106d7b871227d76f9fe76f4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# New ports collection makefile for: py-serial
# Date created: 26 February 2002
# Whom: Hye-Shik Chang <perky@fallin.lv>
#
# $FreeBSD$
#
PORTNAME= serial
PORTVERSION= 2.4
CATEGORIES= comms python
MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyserial-${PORTVERSION}
MAINTAINER= perky@FreeBSD.org
COMMENT= Serial port encapsulation library for Python
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
USE_PYTHON_PREFIX= yes
PYDISTUTILS_PKGNAME= pyserial
PORTDOCS= *.txt
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/*.txt ${DOCSDIR}
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|