aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-06-27 14:14:01 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-06-27 14:14:01 +0000
commit2a912e1c5e4be08da2ea6566287d72dc0f3ea08a (patch)
treec3d0737f2f5ad6e044e0be33ea494b26a383e78b /biology
parent81a246956288bb6bf0cd5af7ffbc14b3e2993153 (diff)
downloadports-2a912e1c5e4be08da2ea6566287d72dc0f3ea08a.tar.gz
ports-2a912e1c5e4be08da2ea6566287d72dc0f3ea08a.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/mummer/Makefile10
-rw-r--r--biology/mummer/pkg-descr2
2 files changed, 10 insertions, 2 deletions
diff --git a/biology/mummer/Makefile b/biology/mummer/Makefile
index 7a6594fe88fb..70005c36ee42 100644
--- a/biology/mummer/Makefile
+++ b/biology/mummer/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mummer
PORTVERSION= 3.23
+PORTREVISION= 1
CATEGORIES= biology
MASTER_SITES= SF
DISTNAME= MUMmer${PORTVERSION}
@@ -10,7 +11,7 @@ DISTNAME= MUMmer${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Modular system for rapid whole genome alignment
-USES= gmake
+USES= gmake perl5
PROGRAMS= annotate combineMUMs delta-filter gaps \
mgaps mummer repeat-match show-aligns \
@@ -23,6 +24,13 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
+post-extract:
+ @${REINPLACE_CMD} -e 's,type perl,type ${LOCALBASE}/bin/perl,' ${WRKSRC}/scripts/Makefile
+.if (${OSVERSION} >= 1000024)
+ @${REINPLACE_CMD} -e 's,type gcc,type clang,' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's,type g++,type clang++,' ${WRKSRC}/Makefile
+.endif
+
do-install:
${INSTALL_PROGRAM} ${PROGRAMS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${SCRIPTS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
diff --git a/biology/mummer/pkg-descr b/biology/mummer/pkg-descr
index 61b5d007a15f..f6e5ccf079fd 100644
--- a/biology/mummer/pkg-descr
+++ b/biology/mummer/pkg-descr
@@ -3,4 +3,4 @@ or draft sequence. This package provides an efficient suffix tree library,
seed-and-extend alignment, SNP detection, repeat detection, and
visualization tools.
-WWW: http://mummer.sourceforge.net/
+WWW: http://mummer.sourceforge.net/