svn commit: r321306 - head/biology/fasta

Boris Samorodov bsam at FreeBSD.org
Wed Jun 19 18:51:17 UTC 2013


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 at egenetics.com>
-#
+# Created by: Johann Visagie <johann at 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 at 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/


More information about the svn-ports-head mailing list