2010-11-14 19:22:45 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2010/11/15 00:22:49 espie Exp $
|
2004-05-07 04:57:15 -04:00
|
|
|
|
2009-06-02 00:48:32 -04:00
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= Python tools for computational molecular biology
|
2004-05-07 04:57:15 -04:00
|
|
|
|
2009-06-02 00:48:32 -04:00
|
|
|
MODPY_EGG_VERSION= 1.50
|
|
|
|
DISTNAME= biopython-${MODPY_EGG_VERSION}
|
2010-08-30 12:48:31 -04:00
|
|
|
REVISION = 0
|
2009-06-02 00:48:32 -04:00
|
|
|
CATEGORIES= biology
|
2004-05-07 04:57:15 -04:00
|
|
|
|
2009-06-02 00:48:32 -04:00
|
|
|
HOMEPAGE= http://www.biopython.org/
|
2004-05-07 04:57:15 -04:00
|
|
|
|
2009-06-02 00:48:32 -04:00
|
|
|
MAINTAINER= Will Maier <wcmaier@openbsd.org>
|
2008-01-11 21:00:24 -05:00
|
|
|
|
2004-05-07 04:57:15 -04:00
|
|
|
# BSD-like
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2006-07-13 03:43:40 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}DIST/
|
2004-05-07 04:57:15 -04:00
|
|
|
|
2004-08-03 07:18:02 -04:00
|
|
|
MODULES= lang/python
|
2004-05-07 04:57:15 -04:00
|
|
|
|
2008-01-11 21:00:24 -05:00
|
|
|
WANTLIB+= stdc++
|
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
BUILD_DEPENDS= devel/swig \
|
|
|
|
math/py-numpy
|
|
|
|
RUN_DEPENDS= math/py-numpy \
|
|
|
|
print/py-reportlab/reportlab
|
2004-05-07 04:57:15 -04:00
|
|
|
REGRESS_DEPENDS=${RUN_DEPENDS}
|
|
|
|
|
2008-01-11 21:00:24 -05:00
|
|
|
CFLAGS+= -fPIC
|
2007-10-19 04:38:24 -04:00
|
|
|
|
2004-05-07 04:57:15 -04:00
|
|
|
post-install:
|
2008-01-11 21:00:24 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-biopython/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-biopython/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Doc/*.txt ${PREFIX}/share/doc/py-biopython/
|
|
|
|
cd ${WRKSRC}/Doc/examples; tar cf - * | \
|
|
|
|
tar xf - -C ${PREFIX}/share/examples/py-biopython
|
2004-05-07 04:57:15 -04:00
|
|
|
|
|
|
|
do-regress: fake
|
2008-01-11 21:00:24 -05:00
|
|
|
@cd ${WRKSRC}/Tests && \
|
2004-05-07 04:57:15 -04:00
|
|
|
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
|
2009-06-02 00:48:32 -04:00
|
|
|
${MODPY_BIN} ./run_tests.py
|
2004-05-07 04:57:15 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|