From 8def27fa74c641a1d6696b926678f69f71db3c92 Mon Sep 17 00:00:00 2001 From: Boris Samorodov Date: Wed, 19 Jun 2013 19:15:14 +0000 Subject: [PATCH] . 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. --- biology/recombine/Makefile | 19 +++++++++++-------- biology/recombine/pkg-descr | 2 +- biology/recombine/pkg-plist | 4 ---- 3 files changed, 12 insertions(+), 13 deletions(-) delete mode 100644 biology/recombine/pkg-plist diff --git a/biology/recombine/Makefile b/biology/recombine/Makefile index 50bcfff4b0c3..d60827a3a3c4 100644 --- a/biology/recombine/Makefile +++ b/biology/recombine/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: recombine -# Date created: 6 August 2001 -# Whom: Johann Visagie -# +# Created by: Johann Visagie # $FreeBSD$ -# PORTNAME= recombine PORTVERSION= 1.41 @@ -12,19 +8,26 @@ MASTER_SITES= http://evolution.gs.washington.edu/lamarc/recombine/ DISTNAME= ${PORTNAME}${PORTVERSION}.src.doc MAINTAINER= ports@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 + post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/recombine.txt ${DOCSDIR}/ .endif diff --git a/biology/recombine/pkg-descr b/biology/recombine/pkg-descr index 93fd0871c290..e8bdda06cb5f 100644 --- a/biology/recombine/pkg-descr +++ b/biology/recombine/pkg-descr @@ -7,4 +7,4 @@ Algorithm using Random Coalescence) suite. See: 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 diff --git a/biology/recombine/pkg-plist b/biology/recombine/pkg-plist deleted file mode 100644 index 9df8ac3cf76e..000000000000 --- a/biology/recombine/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/filetran -bin/recombine -%%PORTDOCS%%%%DOCSDIR%%/recombine.txt -%%PORTDOCS%%@dirrm %%DOCSDIR%%