openbsd-ports/devel/py-pyro/Makefile

32 lines
742 B
Makefile

# $OpenBSD: Makefile,v 1.2 2009/03/15 11:53:11 fgsch Exp $
COMMENT = distributed object middleware for Python
MODPY_EGG_VERSION = 3.8.1
DISTNAME = Pyro-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}p0
CATEGORIES = devel
HOMEPAGE = http://pyro.sourceforge.net/
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pyro/}
MODULES = lang/python
NO_REGRESS = Yes
post-install:
$(INSTALL_DATA_DIR) ${PREFIX}/share/doc/py-pyro
$(INSTALL_DATA_DIR) ${PREFIX}/share/examples/py-pyro
cd ${WRKSRC}/docs && pax -rw * ${PREFIX}/share/doc/py-pyro
cd ${WRKSRC}/examples && pax -rw * ${PREFIX}/share/examples/py-pyro
.include <bsd.port.mk>