diff options
author | ijliao <ijliao@FreeBSD.org> | 2004-06-08 12:10:28 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2004-06-08 12:10:28 +0800 |
commit | 5cd14cfef6884bbe4df710c5e7d2fcc4e8e25445 (patch) | |
tree | 2719c03a6a42cd4c605b13ed5ec3522152d80373 /lang/f2py/Makefile | |
parent | bb48fd4335a4bb0f0d97ca3e06df9681b30fa15d (diff) | |
download | freebsd-ports-gnome-5cd14cfef6884bbe4df710c5e7d2fcc4e8e25445.tar.gz freebsd-ports-gnome-5cd14cfef6884bbe4df710c5e7d2fcc4e8e25445.tar.zst freebsd-ports-gnome-5cd14cfef6884bbe4df710c5e7d2fcc4e8e25445.zip |
upgrade to 2.39.235.1693
Diffstat (limited to 'lang/f2py/Makefile')
-rw-r--r-- | lang/f2py/Makefile | 24 |
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> |