svn commit: r321249 - head/biology/fastdnaml
Boris Samorodov
bsam at FreeBSD.org
Wed Jun 19 13:35:56 UTC 2013
Author: bsam
Date: Wed Jun 19 13:35:55 2013
New Revision: 321249
URL: http://svnweb.freebsd.org/changeset/ports/321249
Log:
. NOPORTDOCS -> PORT_OPTIONS:MDOCS;
. remove LICENSE_FILE for a standard license (GPLv2);
. trim Makefile headers.
Modified:
head/biology/fastdnaml/Makefile
head/biology/fastdnaml/pkg-plist
Modified: head/biology/fastdnaml/Makefile
==============================================================================
--- head/biology/fastdnaml/Makefile Wed Jun 19 13:30:50 2013 (r321248)
+++ head/biology/fastdnaml/Makefile Wed Jun 19 13:35:55 2013 (r321249)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: fastDNAml
-# Date created: 12 Oct 2000
-# Whom: Motomichi Matsuzaki <mzaki at e-mail.ne.jp>
-#
+# Created by: Motomichi Matsuzaki <mzaki at e-mail.ne.jp>
# $FreeBSD$
-#
PORTNAME= fastdnaml
PORTVERSION= 1.2.2
@@ -16,17 +12,21 @@ MAINTAINER= ports at 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
Modified: head/biology/fastdnaml/pkg-plist
==============================================================================
--- head/biology/fastdnaml/pkg-plist Wed Jun 19 13:30:50 2013 (r321248)
+++ head/biology/fastdnaml/pkg-plist Wed Jun 19 13:35:55 2013 (r321249)
@@ -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%%
More information about the svn-ports-head
mailing list