1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

. NOPORTDOCS -> PORT_OPTIONS:MDOCS;

. use f instead of file for a variable (portlint warns against file);
. do not mute install commands;
. remove article from COMMENT;
. trim Makefile headers;
. pet portlint: use one space after WWW: at pkg-descr.
This commit is contained in:
Boris Samorodov 2013-06-19 18:51:16 +00:00
parent f257e1ad16
commit e4da7811ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321306
2 changed files with 12 additions and 12 deletions

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: fasta
# Date created: 29 January 2001
# Whom: Johann Visagie <johann@egenetics.com>
#
# Created by: Johann Visagie <johann@egenetics.com>
# $FreeBSD$
#
PORTNAME= fasta
PORTVERSION= 21.1.1
@ -13,7 +9,7 @@ MASTER_SITES= http://faculty.virginia.edu/wrpearson/fasta/fasta2/ \
EXTRACT_SUFX= .shar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= A collection of programs for searching DNA and protein databases
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
@ -27,21 +23,25 @@ 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
PORT_OPTIONS= DOCS
do-extract:
@ ${RM} -rf ${WRKDIR}
@ ${MKDIR} ${WRKSRC}
@ for file in ${EXTRACT_ONLY}; do \
cd ${WRKSRC} && (${GZCAT} ${DISTDIR}/$${file} | ${SH} >/dev/null); \
@ 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/
${INSTALL_MAN} ${WRKSRC}/${manpage} ${MAN1PREFIX}/man/man1/
.endfor
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@ ${MKDIR} ${DOCSDIR}
.for docfile in ${FASTA_DOCS}
@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif

View File

@ -15,4 +15,4 @@ Methods in Enzymology 183:63- 98).
The FASTA2 suite is distributed freely subject to the condition that it may
not be sold or incorporated into a commercial product.
WWW: http://fasta.bioch.virginia.edu/
WWW: http://fasta.bioch.virginia.edu/