openbsd-ports/devel/py-protocols/Makefile
2013-03-11 10:50:00 +00:00

40 lines
981 B
Makefile

# $OpenBSD: Makefile,v 1.20 2013/03/11 10:50:26 espie Exp $
COMMENT= protocol definition, declaration and adaptation
VERSION= 1.0
REV= 2306
DISTNAME= PyProtocols
PKGNAME= py-protocols-${VERSION}r${REV}
REVISION= 0
EPOCH= 0
CATEGORIES= devel
HOMEPAGE= http://peak.telecommunity.com/PyProtocols.html
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
# PSF/ZPL
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_BACKUP}
DISTFILES= PyProtocols-${VERSION}a0dev_r${REV}${EXTRACT_SUFX}
MODULES= lang/python
RUN_DEPENDS= devel/py-decoratortools
TEST_DEPENDS= devel/py-decoratortools
MODPY_SETUPTOOLS= Yes
WANTLIB += ${MODPY_WANTLIB}
# make regress happy after fake
post-install:
rm -fr ${WRKSRC}/src/PyProtocols.egg-info
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-protocols/ref
${INSTALL_DATA} ${WRKSRC}/docs/ref/*.tex ${PREFIX}/share/doc/py-protocols/ref/
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/py-protocols/
.include <bsd.port.mk>