2012-05-06 16:49:37 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2012/05/06 20:49:37 benoit Exp $
|
2006-09-28 13:13:32 -04:00
|
|
|
|
2009-09-19 18:39:41 -04:00
|
|
|
COMMENT = ASN.1 library for Python
|
2006-09-28 13:13:32 -04:00
|
|
|
|
2012-05-06 16:49:37 -04:00
|
|
|
MODPY_EGG_VERSION = 0.1.3
|
2009-09-19 18:39:41 -04:00
|
|
|
DISTNAME = pyasn1-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = ${DISTNAME:S/py/py-/}
|
|
|
|
CATEGORIES = devel
|
|
|
|
PKG_ARCH = *
|
2011-07-15 04:57:09 -04:00
|
|
|
EPOCH = 0
|
2006-09-28 13:13:32 -04:00
|
|
|
|
2009-09-19 18:39:41 -04:00
|
|
|
HOMEPAGE = http://pyasn1.sourceforge.net/
|
2006-09-28 13:13:32 -04:00
|
|
|
|
2009-09-19 18:39:41 -04:00
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
2009-05-22 07:08:18 -04:00
|
|
|
|
2006-09-28 13:13:32 -04:00
|
|
|
# BSD-style
|
2009-09-19 18:39:41 -04:00
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
2006-09-28 13:13:32 -04:00
|
|
|
|
2009-09-19 18:39:41 -04:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pyasn1/}
|
2006-09-28 13:13:32 -04:00
|
|
|
|
2009-09-19 18:39:41 -04:00
|
|
|
MODULES = lang/python
|
2006-09-28 13:13:32 -04:00
|
|
|
|
2009-09-19 18:39:41 -04:00
|
|
|
MODPY_SETUPTOOLS = Yes
|
2009-05-22 07:08:18 -04:00
|
|
|
|
2009-09-19 18:39:41 -04:00
|
|
|
DOCSDIR = ${PREFIX}/share/doc/py-asn1
|
2006-09-28 13:13:32 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
|
|
|
|
|
|
|
|
do-regress: fake
|
2011-11-08 01:36:38 -05:00
|
|
|
@cd ${WRKSRC} && ${MAKE_ENV} \
|
|
|
|
PYTHONPATH=${WRKSRC} ${MODPY_BIN} ./test/suite.py
|
2006-09-28 13:13:32 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|