aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-06-19 20:43:28 +0800
committerbsam <bsam@FreeBSD.org>2013-06-19 20:43:28 +0800
commit39d67497424343d5a878d78165783e8ad411b904 (patch)
treee4c4cb37da54a43b3d9d5c0c8ec59430e8a02150 /biology
parentc5445b02eb1eb9b31561c0510dab4b48e97d0c49 (diff)
downloadfreebsd-ports-graphics-39d67497424343d5a878d78165783e8ad411b904.tar.gz
freebsd-ports-graphics-39d67497424343d5a878d78165783e8ad411b904.tar.zst
freebsd-ports-graphics-39d67497424343d5a878d78165783e8ad411b904.zip
. 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.
Diffstat (limited to 'biology')
-rw-r--r--biology/fluctuate/Makefile17
-rw-r--r--biology/fluctuate/pkg-descr2
-rw-r--r--biology/fluctuate/pkg-plist4
3 files changed, 11 insertions, 12 deletions
diff --git a/biology/fluctuate/Makefile b/biology/fluctuate/Makefile
index e4d90d5996c..a222e959e78 100644
--- a/biology/fluctuate/Makefile
+++ b/biology/fluctuate/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: fluctuate
-# Date created: 6 August 2001
-# Whom: Johann Visagie <wjv@FreeBSD.org>
-#
+# Created by: Johann Visagie <wjv@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= fluctuate
PORTVERSION= 1.40
@@ -12,16 +8,23 @@ MASTER_SITES= http://evolution.gs.washington.edu/lamarc/fluctuate/
DISTNAME= ${PORTNAME}1.4.src.doc
MAINTAINER= ports@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
diff --git a/biology/fluctuate/pkg-descr b/biology/fluctuate/pkg-descr
index 6ed3d4f5b9c..89d9527d953 100644
--- a/biology/fluctuate/pkg-descr
+++ b/biology/fluctuate/pkg-descr
@@ -8,4 +8,4 @@ Algorithm using Random Coalescence) suite. See:
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
diff --git a/biology/fluctuate/pkg-plist b/biology/fluctuate/pkg-plist
deleted file mode 100644
index 2adc88acb91..00000000000
--- a/biology/fluctuate/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/fluctuate
-%%PORTDOCS%%%%DOCSDIR%%/errors.doc
-%%PORTDOCS%%%%DOCSDIR%%/fluctuate.doc
-%%PORTDOCS%%@dirrm %%DOCSDIR%%