2008-01-14 08:24:16 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2008/01/14 13:24:16 winiger Exp $
|
2004-01-29 12:13:37 -05:00
|
|
|
|
2006-06-03 05:19:52 -04:00
|
|
|
SHARED_ONLY= Yes
|
2001-07-20 13:41:50 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= Date and Time types for Python
|
2001-07-20 13:41:50 -04:00
|
|
|
|
2004-03-02 02:41:32 -05:00
|
|
|
VERSION= 2.0.5
|
2001-07-20 13:41:50 -04:00
|
|
|
DISTNAME= egenix-mx-base-${VERSION}
|
2008-01-14 08:24:16 -05:00
|
|
|
PKGNAME= py-mxDateTime-${VERSION}p3
|
2001-07-20 13:41:50 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.lemburg.com/files/python/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.lemburg.com/files/python/eGenix-mx-Extensions.html
|
|
|
|
|
2004-02-23 00:04:21 -05:00
|
|
|
MAINTAINER= Jason Ish <ish@openbsd.org>
|
|
|
|
|
|
|
|
# eGenix.com Public License Agreement
|
2001-07-20 13:41:50 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
2004-08-03 10:27:33 -04:00
|
|
|
MODULES= lang/python
|
2001-07-20 13:41:50 -04:00
|
|
|
|
2008-01-11 04:15:21 -05:00
|
|
|
FLAVORS= python2.4 python2.5 # Needed for Zope, e.g.
|
|
|
|
FLAVOR?= python2.5
|
|
|
|
|
|
|
|
.if !${FLAVOR} || ${FLAVOR:L:Npython?.?}
|
|
|
|
ERRORS+= "Fatal: You must select one version: ${FLAVORS}"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MODPY_VERSION= ${FLAVOR:S/python//}
|
|
|
|
|
2002-10-25 18:37:52 -04:00
|
|
|
NO_REGRESS= Yes
|
2001-07-20 13:41:50 -04:00
|
|
|
|
2008-01-11 04:15:21 -05:00
|
|
|
post-install:
|
|
|
|
find ${WRKINST} -name \*.egg-info -exec rm {} \;
|
|
|
|
|
2001-07-20 13:41:50 -04:00
|
|
|
.include <bsd.port.mk>
|