openbsd-ports/devel/py-pexpect/Makefile
2011-06-08 17:31:05 +00:00

35 lines
784 B
Makefile

# $OpenBSD: Makefile,v 1.12 2011/06/08 17:39:25 jasper Exp $
COMMENT= pure Python Expect-like module
DISTNAME= pexpect-2.1
PKGNAME= py-${DISTNAME}
REVISION = 3
CATEGORIES= devel
HOMEPAGE= http://pexpect.sourceforge.net/
# Python
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pexpect/}
MODULES= lang/python
EXAMPLESDIR= ${PREFIX}/share/examples/py-pexpect
DOCDIR= ${PREFIX}/share/doc/py-pexpect
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/{ANSI,FSM,screen}.py ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCDIR}
.include <bsd.port.mk>