2009-06-15 17:23:30 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2009/06/15 21:23:30 sthen Exp $
|
2004-01-29 12:13:37 -05:00
|
|
|
|
2009-05-26 15:28:12 -04:00
|
|
|
SHARED_ONLY = Yes
|
2001-07-20 13:41:50 -04:00
|
|
|
|
2009-05-26 15:28:12 -04:00
|
|
|
COMMENT = date and time types for Python
|
2001-07-20 13:41:50 -04:00
|
|
|
|
2009-05-26 15:28:12 -04:00
|
|
|
MODPY_EGG_VERSION = 3.1.2
|
|
|
|
DISTNAME = egenix-mx-base-${MODPY_EGG_VERSION}
|
2009-06-15 17:23:30 -04:00
|
|
|
PKGNAME = py-mxDateTime-${MODPY_EGG_VERSION}p2
|
2009-05-26 15:28:12 -04:00
|
|
|
CATEGORIES = devel
|
2001-07-20 13:41:50 -04:00
|
|
|
|
2009-05-26 15:28:12 -04:00
|
|
|
HOMEPAGE = http://www.egenix.com/products/python/mxBase/
|
2004-02-23 00:04:21 -05:00
|
|
|
|
|
|
|
# eGenix.com Public License Agreement
|
2009-05-26 15:28:12 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2001-07-20 13:41:50 -04:00
|
|
|
|
2009-05-26 15:28:12 -04:00
|
|
|
MASTER_SITES = http://www.lemburg.com/files/python/
|
2001-07-20 13:41:50 -04:00
|
|
|
|
2009-05-26 15:28:12 -04:00
|
|
|
FLAVORS = python2.4 python2.5 python2.6 # Needed for Zope, e.g.
|
|
|
|
FLAVOR ?= python2.5
|
2008-01-11 04:15:21 -05:00
|
|
|
|
2009-06-15 17:23:30 -04:00
|
|
|
WANTLIB += m
|
|
|
|
|
2008-01-11 04:15:21 -05:00
|
|
|
.if !${FLAVOR} || ${FLAVOR:L:Npython?.?}
|
2009-05-26 15:28:12 -04:00
|
|
|
ERRORS += "Fatal: You must select one version: ${FLAVORS}"
|
2008-01-11 04:15:21 -05:00
|
|
|
.endif
|
|
|
|
|
2009-05-26 15:28:12 -04:00
|
|
|
MODPY_VERSION = ${FLAVOR:S/python//}
|
|
|
|
|
|
|
|
MODULES = lang/python
|
2008-01-11 04:15:21 -05:00
|
|
|
|
2009-05-26 15:28:12 -04:00
|
|
|
NO_REGRESS = Yes
|
2001-07-20 13:41:50 -04:00
|
|
|
|
2009-05-26 15:28:12 -04:00
|
|
|
# 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
|
2008-01-11 04:15:21 -05:00
|
|
|
|
2001-07-20 13:41:50 -04:00
|
|
|
.include <bsd.port.mk>
|