blob: 85218e58d2f95e960815a08d0a6980bb8db7ea15 (
plain) (
tree)
|
|
# ex:ts=8
# New ports collection makefile for: mafft
# Date created: 1 Feb 2006
# Whom: Fernan Aguero <fernan@iib.unsam.edu.ar>
#
# $FreeBSD$
#
PORTNAME= mafft
PORTVERSION= 5.743
CATEGORIES= biology
MASTER_SITES= http://align.bmr.kyushu-u.ac.jp/mafft/software/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
MAINTAINER= fernan@iib.unsam.edu.ar
COMMENT= Multiple sequence alignments based on fast Fourier transform
RUN_DEPENDS= fasta35:${PORTSDIR}/biology/fasta3
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
BUILD_WRKSRC= ${WRKSRC}/src
MAKE_ENV+= CFLAG="${CFLAGS}"
post-patch:
@${REINPLACE_CMD} -E 's,^(CC|PREFIX) =,\1 ?=,' \
${WRKSRC}/src/Makefile
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/mafft ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/binaries/* ${PREFIX}/bin
@ ${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/test/* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}
.endif
.include <bsd.port.mk>
|