1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/biology/mafft/Makefile
Wen Heping 394d4a451c - Update to 7.266
PR:		205558
Submitted by:	cartwright@asu.edu(maintainer)
2015-12-25 07:19:00 +00:00

48 lines
1.2 KiB
Makefile

# Created by: Fernan Aguero <fernan@iib.unsam.edu.ar>
# $FreeBSD$
PORTNAME= mafft
PORTVERSION= 7.266
CATEGORIES= biology
MASTER_SITES= http://mafft.cbrc.jp/alignment/software/
DISTNAME= ${PORTNAME}-${PORTVERSION}-without-extensions-src
MAINTAINER= cartwright@asu.edu
COMMENT= Multiple alignment program for amino acid or nucleotide sequences
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/license
OPTIONS_DEFINE= DOCS EXAMPLES
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-without-extensions
BUILD_WRKSRC= ${WRKSRC}/core
INSTALL_WRKSRC= ${WRKSRC}/core
USES= gmake shebangfix tar:tgz
SHEBANG_FILES= core/*.tmpl
MAKE_ENV= INSTALL_LIB="${INSTALL_LIB}" \
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
MKDIR="${MKDIR}" \
LN="${LN}"
.include <bsd.port.options.mk>
post-patch:
.if ${ARCH} == sparc64
@${REINPLACE_CMD} -e 's|ENABLE_MULTITHREAD = -Denablemultithread||' \
${BUILD_WRKSRC}/Makefile
.endif
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/test/* ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>