freebsd-ports/lang/f2py/Makefile
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

49 lines
1.1 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: f2py
# Date created: Jun 12, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= f2py
PORTVERSION= 2.45.241.1926
PORTREVISION= 1
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}
CONFLICTS= py*-numpy-1.*
DEPRECATED= Replaced by py-numpy
EXPIRATION_DATE= 2007-04-01
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= F2PY
PYDISTUTILS_PKGVERSION= 2.45.241_1926
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>