2010-09-25 19:27:13 +02:00
|
|
|
# New ports collection makefile for: pySerial
|
|
|
|
# Date created: 26 February 2002
|
|
|
|
# Whom: Hye-Shik Chang <perky@fallin.lv>
|
2002-02-27 04:25:41 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= serial
|
2011-11-22 00:01:59 +01:00
|
|
|
PORTVERSION= 2.6
|
2002-02-27 04:25:41 +01:00
|
|
|
CATEGORIES= comms python
|
2010-09-22 16:55:49 +02:00
|
|
|
MASTER_SITES= CHEESESHOP
|
2002-02-27 04:25:41 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2011-11-22 00:01:59 +01:00
|
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
2002-02-27 04:25:41 +01:00
|
|
|
|
2011-03-18 11:04:54 +01:00
|
|
|
MAINTAINER= sbz@FreeBSD.org
|
2003-02-25 07:25:35 +01:00
|
|
|
COMMENT= Serial port encapsulation library for Python
|
2002-02-27 04:25:41 +01:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
2010-09-22 16:55:49 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
2002-07-18 07:19:16 +02:00
|
|
|
USE_PYTHON_PREFIX= yes
|
2010-09-25 19:27:13 +02:00
|
|
|
PYDISTUTILS_PKGNAME= py${PORTNAME}
|
2010-09-22 16:55:49 +02:00
|
|
|
|
2008-06-18 13:02:05 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
2010-09-22 16:55:49 +02:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
2008-06-18 13:02:05 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2010-09-25 19:27:13 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
|
2010-09-22 16:55:49 +02:00
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2010-09-25 19:27:13 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2008-06-18 13:02:05 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
2002-02-27 04:25:41 +01:00
|
|
|
.include <bsd.port.mk>
|