mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# Created by: Johann Visagie <johann@egenetics.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fasta
|
|
PORTVERSION= 21.1.1
|
|
CATEGORIES= biology
|
|
MASTER_SITES= http://faculty.virginia.edu/wrpearson/fasta/fasta2/ \
|
|
ftp://ftp.ebi.ac.uk/pub/software/unix/fasta/fasta2/
|
|
EXTRACT_SUFX= .shar.Z
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Collection of programs for searching DNA and protein databases
|
|
|
|
NO_CDROM= May not be sold or incorporated into a commercial product
|
|
WRKSRC= ${WRKDIR}/fasta
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
SUB_FILES= pkg-message
|
|
FASTA_DOCS= COPYRIGHT README.versions fasta20.doc fasta20.me format.doc \
|
|
readme.*
|
|
|
|
MAN1= align.1 fasta.1 lalign.1 prdf.1 prss.1 randseq.1 ssearch.1
|
|
MLINKS= fasta.1 tfasta.1 fasta.1 lfasta.1 fasta.1 plfasta.1 \
|
|
fasta.1 fastx.1 fasta.1 tfastx.1 \
|
|
align.1 align0.1 lalign.1 plalign.1
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-extract:
|
|
@ ${RM} -rf ${WRKDIR}
|
|
@ ${MKDIR} ${WRKSRC}
|
|
@ for f in ${EXTRACT_ONLY}; do \
|
|
cd ${WRKSRC} && (${GZCAT} ${DISTDIR}/$${f} | ${SH} >/dev/null); \
|
|
done
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.for manpage in ${MAN1}
|
|
${INSTALL_MAN} ${WRKSRC}/${manpage} ${MAN1PREFIX}/man/man1/
|
|
.endfor
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@ ${MKDIR} ${DOCSDIR}
|
|
.for docfile in ${FASTA_DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "powerpc"
|
|
IGNORE= does not build: runs out of space on powerpc
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|