openbsd-ports/devel/py-asn1/Makefile

42 lines
979 B
Makefile
Raw Normal View History

2010-08-30 18:24:14 -04:00
# $OpenBSD: Makefile,v 1.10 2010/08/30 22:24:15 jasper Exp $
2006-09-28 13:13:32 -04:00
COMMENT = ASN.1 library for Python
2006-09-28 13:13:32 -04:00
2010-07-18 07:15:52 -04:00
MODPY_EGG_VERSION = 0.0.11a
DISTNAME = pyasn1-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/py/py-/}
2010-08-30 18:24:14 -04:00
REVISION = 1
CATEGORIES = devel
PKG_ARCH = *
2006-09-28 13:13:32 -04:00
HOMEPAGE = http://pyasn1.sourceforge.net/
2006-09-28 13:13:32 -04:00
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
2006-09-28 13:13:32 -04:00
# BSD-style
PERMIT_PACKAGE_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
2006-09-28 13:13:32 -04:00
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pyasn1/}
2006-09-28 13:13:32 -04:00
MODULES = lang/python
2006-09-28 13:13:32 -04:00
MODPY_SETUPTOOLS = Yes
DOCSDIR = ${PREFIX}/share/doc/py-asn1
EXAMPLESDIR = ${PREFIX}/share/examples/py-asn1
2006-09-28 13:13:32 -04:00
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>