blob: 4c95d77cefdec179c6793f6da72beb19012ba83f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# New ports collection makefile for: py-martel
# Date created: 19 October 2000
# Whom: Johann Visagie <johann@egenetics.com>
#
# $FreeBSD$
#
PORTNAME= martel
PORTVERSION= 0.3
CATEGORIES= textproc biology python
MASTER_SITES= http://www.biopython.org/~dalke/Martel/
PKGNAMEPREFIX= py-
DISTNAME= Martel-${PORTVERSION}
MAINTAINER= johann@egenetics.com
RUN_DEPENDS= ${PYXML} \
${PYTHON_SITELIBDIR}/TextTools/__init__.py:${PORTSDIR}/textproc/py-mxTextTools
WRKSRC= ${WRKDIR}/Martel-${PORTVERSION}/Martel
USE_PYTHON= yes
NO_BUILD= yes
MARTEL_DIR= ${PYTHON_SITELIBDIR}/Martel
MARTEL_EXAMPLEDIR=${PREFIX}/share/examples/martel
MARTEL_DOCDIR= ${PREFIX}/share/doc/martel
do-install:
@ ${MKDIR} ${MARTEL_DIR}
@ (cd ${WRKSRC} && find *.py examples formats test \
| cpio --quiet -pdum -R ${BINOWN}:${BINGRP} ${MARTEL_DIR})
@ ${MKDIR} ${MARTEL_EXAMPLEDIR}
@ ${INSTALL_DATA} ${WRKSRC}/examples/* ${MARTEL_EXAMPLEDIR}
post-install:
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${MARTEL_DOCDIR}
.for docfile in README HISTORY doc/*
@ ${INSTALL_MAN} ${WRKSRC}/${docfile} ${MARTEL_DOCDIR}
.endfor
.endif
.include <bsd.port.mk>
|