blob: dab1312f2d51ba655a0fefbebc9bd5f45b654394 (
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
32
33
34
35
36
37
38
39
40
41
|
# ex:ts=8
# Ports collection makefile for: f2py
# Date created: Jun 12, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= f2py
PORTVERSION= 2.39.235.1693
CATEGORIES= lang python
MASTER_SITES= http://cens.ioc.ee/projects/f2py2e/2.x/
DISTNAME= ${PORTNAME:U}-${PORTVERSION:R}_${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= Fortran to Python Interface Generator
RUN_DEPENDS= ${PYNUMERIC}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PLIST_FILES= bin/f2py
MAN1= f2py.1
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
post-install:
${INSTALL_MAN} ${WRKSRC}/f2py.1 ${MAN1PREFIX}/man/man1
@${FIND} ${PYTHON_SITELIBDIR}/f2py2e ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/f2py2e -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
.endif
.include <bsd.port.mk>
|