summaryrefslogtreecommitdiff
path: root/lang/f2py/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-06-08 04:10:28 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-06-08 04:10:28 +0000
commit9b3444d89743eb70e1db950aacfe425f862ad178 (patch)
tree271ef1a1a95408401644c3e9a2897cd8e162781e /lang/f2py/Makefile
parentReviewed by: maintainer (diff)
upgrade to 2.39.235.1693
Notes
Notes: svn path=/head/; revision=111049
Diffstat (limited to 'lang/f2py/Makefile')
-rw-r--r--lang/f2py/Makefile24
1 files changed, 21 insertions, 3 deletions
diff --git a/lang/f2py/Makefile b/lang/f2py/Makefile
index 18c0ef33d043..dab1312f2d51 100644
--- a/lang/f2py/Makefile
+++ b/lang/f2py/Makefile
@@ -7,17 +7,35 @@
#
PORTNAME= f2py
-PORTVERSION= 2.37.233.1545
+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}
+DISTNAME= ${PORTNAME:U}-${PORTVERSION:R}_${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= Fortran to Python Interface Generator
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric
+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>