aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-06-19 21:35:55 +0800
committerbsam <bsam@FreeBSD.org>2013-06-19 21:35:55 +0800
commit4a0b49c302caada5ea3a350832580ef5e7d2976e (patch)
treeb363bd520a37f288796bc1510ae83083d32ac36b /biology
parent6949a6c6150f298d920455afaee0314dc65a6b40 (diff)
downloadfreebsd-ports-graphics-4a0b49c302caada5ea3a350832580ef5e7d2976e.tar.gz
freebsd-ports-graphics-4a0b49c302caada5ea3a350832580ef5e7d2976e.tar.zst
freebsd-ports-graphics-4a0b49c302caada5ea3a350832580ef5e7d2976e.zip
. NOPORTDOCS -> PORT_OPTIONS:MDOCS;
. remove LICENSE_FILE for a standard license (GPLv2); . trim Makefile headers.
Diffstat (limited to 'biology')
-rw-r--r--biology/fastdnaml/Makefile16
-rw-r--r--biology/fastdnaml/pkg-plist3
2 files changed, 8 insertions, 11 deletions
diff --git a/biology/fastdnaml/Makefile b/biology/fastdnaml/Makefile
index 57b0369bf71..6b9c969ef43 100644
--- a/biology/fastdnaml/Makefile
+++ b/biology/fastdnaml/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: fastDNAml
-# Date created: 12 Oct 2000
-# Whom: Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
-#
+# Created by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
# $FreeBSD$
-#
PORTNAME= fastdnaml
PORTVERSION= 1.2.2
@@ -16,17 +12,21 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Faster DNAML, makes phylogenetic trees using maximum likelihood
LICENSE= GPLv2 # (or later)
-LICENSE_FILE= ${WRKSRC}/GNU_GENERAL_PUBLIC_LICENSE
BUILD_WRKSRC= ${WRKSRC}/source
-
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
+PORTDOCS= fastDNAml_doc_1.2.txt fastDNAml_scripts.txt
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/fastDNAml ${PREFIX}/bin
@${MKDIR} ${PREFIX}/bin/${PORTNAME}
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/bin/${PORTNAME}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DOCSDIR}
.endif
diff --git a/biology/fastdnaml/pkg-plist b/biology/fastdnaml/pkg-plist
index 6fb7853d1ed..4ec84652336 100644
--- a/biology/fastdnaml/pkg-plist
+++ b/biology/fastdnaml/pkg-plist
@@ -32,7 +32,4 @@ bin/fastdnaml/usertree
bin/fastdnaml/usertrees
bin/fastdnaml/weights
bin/fastdnaml/weights_categories
-%%PORTDOCS%%%%DOCSDIR%%/fastDNAml_doc_1.2.txt
-%%PORTDOCS%%%%DOCSDIR%%/fastDNAml_scripts.txt
@dirrm bin/fastdnaml
-%%PORTDOCS%%@dirrm %%DOCSDIR%%