svn commit: r321313 - head/biology/recombine

Boris Samorodov bsam at FreeBSD.org
Wed Jun 19 19:15:15 UTC 2013


Author: bsam
Date: Wed Jun 19 19:15:14 2013
New Revision: 321313
URL: http://svnweb.freebsd.org/changeset/ports/321313

Log:
  . NOPORTDOCS -> PORT_OPTIONS:MDOCS;
  . mute mkdir;
  . use PLIST_FILES and PORTDOCS at Makefile;
  . remove pkg-plist;
  . trim Makefile headers;
  . remove article from COMMENT;
  . pet portlint -- use opne space after WWW: at pkg-descr.

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

Modified: head/biology/recombine/Makefile
==============================================================================
--- head/biology/recombine/Makefile	Wed Jun 19 19:10:12 2013	(r321312)
+++ head/biology/recombine/Makefile	Wed Jun 19 19:15:14 2013	(r321313)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	recombine
-# Date created:		6 August 2001
-# Whom:	      		Johann Visagie <wjv at FreeBSD.org>
-#
+# Created by: Johann Visagie <wjv at FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	recombine
 PORTVERSION=	1.41
@@ -12,19 +8,26 @@ MASTER_SITES=	http://evolution.gs.washin
 DISTNAME=	${PORTNAME}${PORTVERSION}.src.doc
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A program to fit population models across sites
+COMMENT=	Program to fit population models across sites
 
 WRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION}
 
 ALL_TARGET=	${PORTNAME}
 
+PLIST_FILES+=	bin/filetran bin/recombine
+PORTDOCS=	recombine.txt
+
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
 	${INSTALL_SCRIPT} ${WRKSRC}/filetran ${PREFIX}/bin/
 
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/recombine.txt ${DOCSDIR}/
 .endif
 

Modified: head/biology/recombine/pkg-descr
==============================================================================
--- head/biology/recombine/pkg-descr	Wed Jun 19 19:10:12 2013	(r321312)
+++ head/biology/recombine/pkg-descr	Wed Jun 19 19:15:14 2013	(r321313)
@@ -7,4 +7,4 @@ Algorithm using Random Coalescence) suit
 
   http://evolution.genetics.washington.edu/lamarc.html
 
-WWW:    http://evolution.genetics.washington.edu/lamarc/recombine.html
+WWW: http://evolution.genetics.washington.edu/lamarc/recombine.html


More information about the svn-ports-all mailing list