openbsd-ports/devel/py-mxDateTime/Makefile

35 lines
814 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.37 2012/04/27 08:20:25 rpointel Exp $
SHARED_ONLY = Yes
COMMENT = date and time types for Python
MODPY_EGG_VERSION = 3.2.4
DISTNAME = egenix-mx-base-${MODPY_EGG_VERSION}
2010-08-30 18:24:14 -04:00
PKGNAME = py-mxDateTime-${MODPY_EGG_VERSION}
CATEGORIES = devel
HOMEPAGE = http://www.egenix.com/products/python/mxBase/
# eGenix.com Public License Agreement
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://downloads.egenix.com/python/
WANTLIB += m ${MODPY_WANTLIB}
2009-06-15 17:23:30 -04:00
MODULES = lang/python
NO_REGRESS = Yes
# Avoid collisions with libc' bm_free
post-configure:
@perl -pi -e 's|bm_free|mxbm_free|g' \
${WRKSRC}/mx/TextTools/mxTextTools/mxbmse.[ch] \
${WRKSRC}/mx/TextTools/mxTextTools/mxTextTools.c
.include <bsd.port.mk>