7a7be631b4
@pkgpath markers; from ajacoutot@ - tweak from me: @pkgpath markers for these go in PFRAG.python2.6-* files rather than straight in PLIST-*, so that they are only added to 2.6 packages, otherwise pkg_add -u will see that either 2.4 or 2.6 versions are valid updates and will have to ask every time, ok ajacoutot@
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.27 2010/09/03 12:34:55 sthen Exp $
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
COMMENT = date and time types for Python
|
|
|
|
MODPY_EGG_VERSION = 3.1.2
|
|
DISTNAME = egenix-mx-base-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-mxDateTime-${MODPY_EGG_VERSION}
|
|
REVISION = 4
|
|
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://www.lemburg.com/files/python/
|
|
|
|
FLAVORS = python2.4 python2.6 # 2.4 needed for Zope, e.g.
|
|
FLAVOR ?= python2.6
|
|
|
|
WANTLIB += m
|
|
|
|
.if !${FLAVOR} || ${FLAVOR:L:Npython?.?}
|
|
ERRORS += "Fatal: You must select one version: ${FLAVORS}"
|
|
.endif
|
|
|
|
MODPY_VERSION = ${FLAVOR:S/python//}
|
|
|
|
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>
|