openbsd-ports/devel/py-asn1/Makefile
benoit 557cc9ddae - update py-asn1 to 0.0.9a
ok ajacoutot@
2009-09-19 22:39:41 +00:00

41 lines
963 B
Makefile

# $OpenBSD: Makefile,v 1.7 2009/09/19 22:39:41 benoit Exp $
COMMENT = ASN.1 library for Python
MODPY_EGG_VERSION = 0.0.9a
DISTNAME = pyasn1-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/py/py-/}
CATEGORIES = devel
PKG_ARCH = *
HOMEPAGE = http://pyasn1.sourceforge.net/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# BSD-style
PERMIT_PACKAGE_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pyasn1/}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
DOCSDIR = ${PREFIX}/share/doc/py-asn1
EXAMPLESDIR = ${PREFIX}/share/examples/py-asn1
post-install:
${INSTALL_DATA_DIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
do-regress: fake
@cd ${WRKSRC}/test && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./suite.py
.include <bsd.port.mk>