openbsd-ports/biology/py-biopython/Makefile
espie 2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00

48 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2010/11/15 00:22:49 espie Exp $
SHARED_ONLY= Yes
COMMENT= Python tools for computational molecular biology
MODPY_EGG_VERSION= 1.50
DISTNAME= biopython-${MODPY_EGG_VERSION}
REVISION = 0
CATEGORIES= biology
HOMEPAGE= http://www.biopython.org/
MAINTAINER= Will Maier <wcmaier@openbsd.org>
# BSD-like
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}DIST/
MODULES= lang/python
WANTLIB+= stdc++
BUILD_DEPENDS= devel/swig \
math/py-numpy
RUN_DEPENDS= math/py-numpy \
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} \
${MODPY_BIN} ./run_tests.py
.include <bsd.port.mk>