aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e4d90d5996c7..a222e959e781 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 6ed3d4f5b9c5..89d9527d9536 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 2adc88acb913..000000000000
--- a/biology/fluctuate/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/fluctuate
-%%PORTDOCS%%%%DOCSDIR%%/errors.doc
-%%PORTDOCS%%%%DOCSDIR%%/fluctuate.doc
-%%PORTDOCS%%@dirrm %%DOCSDIR%%