Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2013 18:51:17 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321306 - head/biology/fasta
Message-ID:  <201306191851.r5JIpHB6031834@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Wed Jun 19 18:51:16 2013
New Revision: 321306
URL: http://svnweb.freebsd.org/changeset/ports/321306

Log:
  . 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.

Modified:
  head/biology/fasta/Makefile
  head/biology/fasta/pkg-descr

Modified: head/biology/fasta/Makefile
==============================================================================
--- head/biology/fasta/Makefile	Wed Jun 19 18:44:32 2013	(r321305)
+++ head/biology/fasta/Makefile	Wed Jun 19 18:51:16 2013	(r321306)
@@ -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.ed
 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
 		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
 

Modified: head/biology/fasta/pkg-descr
==============================================================================
--- head/biology/fasta/pkg-descr	Wed Jun 19 18:44:32 2013	(r321305)
+++ head/biology/fasta/pkg-descr	Wed Jun 19 18:51:16 2013	(r321306)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306191851.r5JIpHB6031834>