2001-03-22 08:34:00 -05:00
|
|
|
# New ports collection makefile for: py-mx-base
|
|
|
|
# Date created: 18 March 2001
|
1999-07-29 10:03:47 -04:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1999-05-26 03:53:18 -04:00
|
|
|
#
|
1999-08-30 22:11:56 -04:00
|
|
|
# $FreeBSD$
|
1999-05-26 03:53:18 -04:00
|
|
|
#
|
|
|
|
|
2001-03-22 08:34:00 -05:00
|
|
|
PORTNAME= mx-base
|
|
|
|
PORTVERSION= 2.0.0
|
|
|
|
CATEGORIES= lang python
|
|
|
|
MASTER_SITES= http://www.lemburg.com/python/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= egenix-${PORTNAME}-${PORTVERSION}
|
1999-05-26 03:53:18 -04:00
|
|
|
|
1999-07-29 10:03:47 -04:00
|
|
|
MAINTAINER= tg@FreeBSD.org
|
1999-05-26 03:53:18 -04:00
|
|
|
|
2001-03-22 08:34:00 -05:00
|
|
|
BUILD_DEPENDS= ${PYDISTUTILS}
|
1999-05-26 03:53:18 -04:00
|
|
|
|
2001-03-22 08:34:00 -05:00
|
|
|
USE_PYTHON= yes
|
1999-05-26 03:53:18 -04:00
|
|
|
|
2001-03-22 08:34:00 -05:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/py-mx
|
1999-05-26 03:53:18 -04:00
|
|
|
|
2001-03-22 08:34:00 -05:00
|
|
|
do-build:
|
|
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build)
|
1999-05-26 03:53:18 -04:00
|
|
|
|
2000-06-16 03:38:43 -04:00
|
|
|
do-install:
|
2001-03-22 08:34:00 -05:00
|
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install)
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for dir in DateTime Proxy Stack TextTools Tools
|
|
|
|
@cd ${PYTHON_SITELIBDIR} && ${LN} -sf mx/${dir} ${dir}
|
2000-06-16 03:38:43 -04:00
|
|
|
.endfor
|
1999-05-26 03:53:18 -04:00
|
|
|
@${MKDIR} ${DOCDIR}
|
2001-03-22 08:34:00 -05:00
|
|
|
@${SED} -e "s;%%PYTHON_SITELIBDIR%%;${PYTHON_SITELIBDIR};g" \
|
|
|
|
< ${FILESDIR}/index.html.in > ${DOCDIR}/index.html
|
|
|
|
@${CHMOD} 644 ${DOCDIR}/index.html
|
1999-05-26 03:53:18 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|