openbsd-ports/biology/py-biopython/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

2009-03-11 04:07:56 -04:00
# $OpenBSD: Makefile,v 1.14 2009/03/11 08:07:56 espie 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
DISTNAME= biopython-1.44
2009-03-11 04:07:56 -04:00
PKGNAME= py-${DISTNAME}p1
CATEGORIES= biology
HOMEPAGE= http://www.biopython.org/
MAINTAINER= Will Maier <willmaier@ml1.net>
# 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
PY_FLAVOR= python${MODPY_VERSION}
WANTLIB+= stdc++
BUILD_DEPENDS= ::math/py-Numeric \
::devel/swig
RUN_DEPENDS= :py-mxDateTime-*-${PY_FLAVOR}:devel/py-mxDateTime,${PY_FLAVOR} \
2005-12-03 17:34:52 -05:00
:py-Numeric-*:math/py-Numeric \
:py-reportlab-*:print/py-reportlab/reportlab
REGRESS_DEPENDS=${RUN_DEPENDS}
CFLAGS+= -fPIC
post-install:
${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
do-regress: fake
@cd ${WRKSRC}/Tests && \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
2005-12-03 17:34:52 -05:00
${MODPY_BIN} ./run_tests.py --no-gui
.include <bsd.port.mk>