. 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.
This commit is contained in:
Boris Samorodov 2013-06-19 19:15:14 +00:00
parent 152ae02f69
commit 8def27fa74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321313
3 changed files with 12 additions and 13 deletions

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: recombine
# Date created: 6 August 2001
# Whom: Johann Visagie <wjv@FreeBSD.org>
#
# Created by: Johann Visagie <wjv@FreeBSD.org>
# $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 <bsd.port.options.mk>
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/recombine.txt ${DOCSDIR}/
.endif

View File

@ -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

View File

@ -1,4 +0,0 @@
bin/filetran
bin/recombine
%%PORTDOCS%%%%DOCSDIR%%/recombine.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%