1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/math/py-numarray/Makefile
Hye-Shik Chang 5fec7c98b7 - Update to 0.6.1
- Update WWW URL
- Use DOCSDIR and EXAMPLESDIR
2003-07-31 20:28:33 +00:00

37 lines
936 B
Makefile

# New ports collection makefile for: py-numarray
# Date created: 30 April 2002
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= numarray
PORTVERSION= 0.6.1
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= numpy
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= perky@FreeBSD.org
COMMENT= Numeric array manipulation extension module for Python
USE_PYTHON= yes
USE_PYDISTUTILS=yes
NO_BUILD= yes # setup.py doesn't work as expected for 'build' target.
PLIST_SUB= DOCSDIR=${DOCSDIR:S,${PREFIX}/,,} \
EXAMPLESDIR=${EXAMPLESDIR:S,${PREFIX}/,,}
post-extract:
cd ${WRKSRC} && \
${PYTHON_CMD} Lib/codegenerator.py && \
${PYTHON_CMD} Include/numarray/genapis.py
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
@${TAR} -C ${WRKSRC}/Doc -cf- .|${TAR} -C ${DOCSDIR} -xf-
@${TAR} -C ${WRKSRC}/Examples -cf- .|${TAR} -C ${EXAMPLESDIR} -xf-
.endif
.include <bsd.port.mk>