diff options
author | bsam <bsam@FreeBSD.org> | 2013-06-20 02:51:16 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-06-20 02:51:16 +0800 |
commit | c15c4e11a7177dac4718f0bfb6571fe640ef7e7e (patch) | |
tree | 529f8057b9e240a128953e94df7aa35f4ace9699 /biology | |
parent | 350c6e911cbb5030b4a401b2c5c88bd5b5ef045d (diff) | |
download | freebsd-ports-gnome-c15c4e11a7177dac4718f0bfb6571fe640ef7e7e.tar.gz freebsd-ports-gnome-c15c4e11a7177dac4718f0bfb6571fe640ef7e7e.tar.zst freebsd-ports-gnome-c15c4e11a7177dac4718f0bfb6571fe640ef7e7e.zip |
. 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.
Diffstat (limited to 'biology')
-rw-r--r-- | biology/fasta/Makefile | 22 | ||||
-rw-r--r-- | biology/fasta/pkg-descr | 2 |
2 files changed, 12 insertions, 12 deletions
diff --git a/biology/fasta/Makefile b/biology/fasta/Makefile index cf6389f61ed6..ab8f8bef7fa5 100644 --- a/biology/fasta/Makefile +++ b/biology/fasta/Makefile @@ -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 diff --git a/biology/fasta/pkg-descr b/biology/fasta/pkg-descr index f81fc5fd62d7..4ed94b5e2538 100644 --- a/biology/fasta/pkg-descr +++ b/biology/fasta/pkg-descr @@ -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/ |