aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-martel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-martel/Makefile')
-rw-r--r--textproc/py-martel/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/textproc/py-martel/Makefile b/textproc/py-martel/Makefile
index 36845a6f06fd..17fb1661b76f 100644
--- a/textproc/py-martel/Makefile
+++ b/textproc/py-martel/Makefile
@@ -6,32 +6,34 @@
#
PORTNAME= martel
-PORTVERSION= 0.3.5
+PORTVERSION= 0.4
PORTEPOCH= 1
CATEGORIES= textproc biology python
MASTER_SITES= http://www.biopython.org/~dalke/Martel/
-PKGNAMEPREFIX= py-
-DISTNAME= Martel-0.35
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= Martel-0.4
MAINTAINER= johann@egenetics.com
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/TextTools/__init__.py:${PORTSDIR}/textproc/py-mxTextTools
PYTHON_VERSION= python2.0
-NO_BUILD= yes
MARTEL_DIR= ${PYTHON_SITELIBDIR}/Martel
MARTEL_EXAMPLEDIR=${PREFIX}/share/examples/martel
MARTEL_DOCDIR= ${PREFIX}/share/doc/martel
+do-build:
+ @ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+ @ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+
do-install:
@ ${MKDIR} ${MARTEL_DIR}
- @ (cd ${WRKSRC} && find *.py examples formats test \
+ @ (cd ${WRKSRC} && find *.py *.pyc *.pyo formats test \
| cpio --quiet -pdum -R ${BINOWN}:${BINGRP} ${MARTEL_DIR})
- @ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${MARTEL_DIR}
- @ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${MARTEL_DIR}
- @ ${MKDIR} ${MARTEL_EXAMPLEDIR}
+ @ ${MKDIR} ${MARTEL_EXAMPLEDIR}/builders
@ ${INSTALL_DATA} ${WRKSRC}/examples/* ${MARTEL_EXAMPLEDIR}
+ @ ${INSTALL_DATA} ${WRKSRC}/builders/* ${MARTEL_EXAMPLEDIR}/builders
post-install:
.if !defined(NOPORTDOCS)