2002-10-25 22:37:52 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2002/10/25 22:37:52 naddy Exp $
|
2001-07-20 17:41:50 +00:00
|
|
|
|
|
|
|
COMMENT= "Date and Time types for Python"
|
|
|
|
|
2002-02-01 14:49:11 +00:00
|
|
|
VERSION= 2.0.3
|
2001-07-20 17:41:50 +00:00
|
|
|
DISTNAME= egenix-mx-base-${VERSION}
|
|
|
|
PKGNAME= py-mxDateTime-${VERSION}
|
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.lemburg.com/files/python/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.lemburg.com/files/python/eGenix-mx-Extensions.html
|
|
|
|
|
|
|
|
MAINTAINER= Maurice Nonnekes <maurice@amaze.nl>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
|
|
|
PYTHON_VER= 2.1
|
|
|
|
|
2002-02-15 19:53:42 +00:00
|
|
|
RUN_DEPENDS+= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
2001-08-21 22:55:41 +00:00
|
|
|
BUILD_DEPENDS+= ${RUN_DEPENDS}
|
2001-07-20 17:41:50 +00:00
|
|
|
|
2002-10-25 22:37:52 +00:00
|
|
|
NO_REGRESS= Yes
|
2001-07-20 17:41:50 +00:00
|
|
|
SUBST_VARS= PYTHON_VER
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}; python${PYTHON_VER} ./setup.py build \
|
|
|
|
--build-base=${WRKSRC}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC}; python${PYTHON_VER} ./setup.py install \
|
|
|
|
--prefix=${PREFIX}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|