openbsd-ports/devel/py-pexpect/Makefile

35 lines
813 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.15 2011/10/22 09:07:18 rpointel Exp $
COMMENT= pure Python Expect-like module
MODPY_EGG_VERSION= 2.3
DISTNAME= pexpect-${MODPY_EGG_VERSION}
2010-08-30 18:24:14 -04:00
PKGNAME= py-${DISTNAME}
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/}
2004-08-03 10:27:33 -04:00
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>