b125062ad7
ok landry@
39 lines
819 B
Makefile
39 lines
819 B
Makefile
# $OpenBSD: Makefile,v 1.18 2012/05/06 20:49:37 benoit Exp $
|
|
|
|
COMMENT = ASN.1 library for Python
|
|
|
|
MODPY_EGG_VERSION = 0.1.3
|
|
DISTNAME = pyasn1-${MODPY_EGG_VERSION}
|
|
PKGNAME = ${DISTNAME:S/py/py-/}
|
|
CATEGORIES = devel
|
|
PKG_ARCH = *
|
|
EPOCH = 0
|
|
|
|
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
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
|
|
|
|
do-regress: fake
|
|
@cd ${WRKSRC} && ${MAKE_ENV} \
|
|
PYTHONPATH=${WRKSRC} ${MODPY_BIN} ./test/suite.py
|
|
|
|
.include <bsd.port.mk>
|