diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2013-06-19 13:35:55 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2013-06-19 13:35:55 +0000 |
commit | 1eb6ad8592be60d655b540b839f34fd61c2b0888 (patch) | |
tree | b363bd520a37f288796bc1510ae83083d32ac36b /biology | |
parent | 3ef1189ec760b28dc4b0711dbe6e2820631c0230 (diff) | |
download | freebsd-ports-1eb6ad8592be60d655b540b839f34fd61c2b0888.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/Makefile | 16 | ||||
-rw-r--r-- | biology/fastdnaml/pkg-plist | 3 |
2 files changed, 8 insertions, 11 deletions
diff --git a/biology/fastdnaml/Makefile b/biology/fastdnaml/Makefile index 57b0369bf71d..6b9c969ef438 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 6fb7853d1ed0..4ec84652336a 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%% |