freebsd-ports/comms/py-serial/Makefile

37 lines
835 B
Makefile
Raw Normal View History

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