svn commit: r321244 - head/biology/fluctuate

Boris Samorodov bsam at FreeBSD.org
Wed Jun 19 12:43:29 UTC 2013


Author: bsam
Date: Wed Jun 19 12:43:28 2013
New Revision: 321244
URL: http://svnweb.freebsd.org/changeset/ports/321244

Log:
  . NOPORTDOCS -> PORT_OPTIONS:MDOCS;
  . use PLIST_FILES and PORTDOCS;
  . get rid of  pkg-plist;
  . pet portlint: use one space after WWW: at pkg-descr;
  . trim Makefile headers;
  . remove the indefinite article from COMMENT.

Deleted:
  head/biology/fluctuate/pkg-plist
Modified:
  head/biology/fluctuate/Makefile
  head/biology/fluctuate/pkg-descr

Modified: head/biology/fluctuate/Makefile
==============================================================================
--- head/biology/fluctuate/Makefile	Wed Jun 19 11:45:59 2013	(r321243)
+++ head/biology/fluctuate/Makefile	Wed Jun 19 12:43:28 2013	(r321244)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	fluctuate
-# Date created:		6 August 2001
-# Whom:	      		Johann Visagie <wjv at FreeBSD.org>
-#
+# Created by: Johann Visagie <wjv at FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	fluctuate
 PORTVERSION=	1.40
@@ -12,16 +8,23 @@ MASTER_SITES=	http://evolution.gs.washin
 DISTNAME=	${PORTNAME}1.4.src.doc
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A program to fit population models
+COMMENT=	Program to fit population models
 
 WRKSRC=		${WRKDIR}/${PORTNAME}1.4
 ALL_TARGET=	${PORTNAME}
 
+PLIST_FILES=	bin/fluctuate
+PORTDOCS=	errors.doc fluctuate.doc
+
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	@ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
 
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@ ${MKDIR} ${DOCSDIR}
 	@ ${INSTALL_DATA} ${WRKSRC}/*.doc ${DOCSDIR}/
 .endif

Modified: head/biology/fluctuate/pkg-descr
==============================================================================
--- head/biology/fluctuate/pkg-descr	Wed Jun 19 11:45:59 2013	(r321243)
+++ head/biology/fluctuate/pkg-descr	Wed Jun 19 12:43:28 2013	(r321244)
@@ -8,4 +8,4 @@ Algorithm using Random Coalescence) suit
 
   http://evolution.genetics.washington.edu/lamarc.html
 
-WWW:    http://evolution.genetics.washington.edu/lamarc/fluctuate.html
+WWW: http://evolution.genetics.washington.edu/lamarc/fluctuate.html


More information about the svn-ports-all mailing list