From 4a0b49c302caada5ea3a350832580ef5e7d2976e Mon Sep 17 00:00:00 2001 From: bsam Date: Wed, 19 Jun 2013 13:35:55 +0000 Subject: . NOPORTDOCS -> PORT_OPTIONS:MDOCS; . remove LICENSE_FILE for a standard license (GPLv2); . trim Makefile headers. --- biology/fastdnaml/Makefile | 16 ++++++++-------- biology/fastdnaml/pkg-plist | 3 --- 2 files changed, 8 insertions(+), 11 deletions(-) (limited to 'biology') 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 -# +# Created by: Motomichi Matsuzaki # $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 + 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%% -- cgit