mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
b61989711f
- Bumped PORTREVISION - Added file: files/patch-Generate.py PR: 23351 Submitted by: maintainer
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# New ports collection makefile for: py-martel
|
|
# Date created: 19 October 2000
|
|
# Whom: Johann Visagie <johann@egenetics.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= martel
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= textproc biology python
|
|
MASTER_SITES= http://www.biopython.org/~dalke/Martel/
|
|
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
|
|
|
|
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 *.pyc *.pyo formats test \
|
|
| cpio --quiet -pdum -R ${BINOWN}:${BINGRP} ${MARTEL_DIR})
|
|
@ ${MKDIR} ${MARTEL_EXAMPLEDIR}/builders
|
|
@ ${INSTALL_DATA} ${WRKSRC}/examples/* ${MARTEL_EXAMPLEDIR}
|
|
@ ${INSTALL_DATA} ${WRKSRC}/builders/* ${MARTEL_EXAMPLEDIR}/builders
|
|
|
|
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>
|