openbsd-ports/biology/py-biopython/Makefile

43 lines
1.0 KiB
Makefile
Raw Normal View History

2007-09-15 17:32:05 -04:00
# $OpenBSD: Makefile,v 1.7 2007/09/15 21:32:05 simon Exp $
2004-08-03 07:18:02 -04:00
SHARED_ONLY= Yes
2007-09-15 17:32:05 -04:00
COMMENT= Python tools for computational molecular biology
2005-12-03 17:34:52 -05:00
DISTNAME= biopython-1.41
PKGNAME= py-${DISTNAME}p0
CATEGORIES= biology
HOMEPAGE= http://www.biopython.org/
# 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-08-03 07:18:02 -04:00
MODULES= lang/python
2005-12-03 17:34:52 -05:00
BUILD_DEPENDS= ${MODPY_EXPAT_DEPENDS} \
::math/py-Numeric
RUN_DEPENDS= ${MODPY_EXPAT_DEPENDS} \
:py-mxDateTime-*:devel/py-mxDateTime \
:py-Numeric-*:math/py-Numeric \
:py-reportlab-*:print/py-reportlab/reportlab
REGRESS_DEPENDS=${RUN_DEPENDS}
EXAMPLESDIR= ${PREFIX}/share/examples/py-biopython
post-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
cd ${WRKSRC}/Tests; tar cf - * | tar xf - -C ${EXAMPLESDIR}
do-regress: fake
2005-12-03 17:34:52 -05:00
@rm -f ${WRKSRC}/Tests/test_copen.py*
@cd ${WRKSRC}/Tests && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
2005-12-03 17:34:52 -05:00
${MODPY_BIN} ./run_tests.py --no-gui
.include <bsd.port.mk>