openbsd-ports/devel/py-pexpect/Makefile

33 lines
675 B
Makefile

# $OpenBSD: Makefile,v 1.6 2006/06/03 09:37:09 alek Exp $
COMMENT= "pure Python Expect-like module"
DISTNAME= pexpect-0.999
PKGNAME= py-${DISTNAME}p0
CATEGORIES= devel
HOMEPAGE= http://pexpect.sourceforge.net/
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
# Python
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pexpect/}
EXTRACT_SUFX= .tgz
MODULES= lang/python
EXAMPLESDIR= ${PREFIX}/share/examples/py-pexpect
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/{ANSI,FSM,screen}.py ${EXAMPLESDIR}
.include <bsd.port.mk>