openbsd-ports/devel/ipython/Makefile

42 lines
921 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.1.1.1 2006/05/28 21:59:20 steven Exp $
COMMENT= "enhanced interactive Python shell"
DISTNAME= ipython-0.7.1.fix1
PKGNAME= ipython-0.7.1.1
CATEGORIES= devel
HOMEPAGE= http://ipython.scipy.org/
MAINTAINER= Will Maier <willmaier@ml1.net>
MODULES= lang/python
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://ipython.scipy.org/dist/
NO_REGRESS= Yes
DOC_DIR= ${PREFIX}/share/doc/ipython
EXAMPLE_DIR= ${PREFIX}/share/examples/ipython
post-extract:
@cd ${WRKSRC}/doc && gunzip *.1.gz
pre-install:
@rm -f ${WRKSRC}/IPython/UserConfig/*.orig
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${DOC_DIR}
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
${INSTALL_DATA} ${WRKSRC}/doc/manual/* ${DOC_DIR}
${INSTALL_DATA} ${WRKSRC}/doc/examples/* ${EXAMPLE_DIR}
.include <bsd.port.mk>