aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-numarray/Makefile
blob: 7893e5ac9c7f6662ef5fe7769e9fa7b45a9e01d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:    py-numarray
# Date created:     30 April 2002
# Whom:         Hye-Shik Chang
#
# $FreeBSD$
#

PORTNAME=   numarray
PORTVERSION=    0.3.4
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

DOCDIR=     ${PREFIX}/share/doc/py-numarray
EXAMPLEDIR= ${PREFIX}/share/examples/py-numarray

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCDIR} ${EXAMPLEDIR}
    @${TAR} -C ${WRKSRC}/Doc -cf- .|${TAR} -C ${DOCDIR} -xf-
    @${TAR} -C ${WRKSRC}/Examples -cf- .|${TAR} -C ${EXAMPLEDIR} -xf-
.endif

.include <bsd.port.mk>