aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-27 22:14:01 +0800
committermiwi <miwi@FreeBSD.org>2014-06-27 22:14:01 +0800
commit00c636a7e3c2ff686bf9c02749fa523da7ccbcc0 (patch)
treec3d0737f2f5ad6e044e0be33ea494b26a383e78b
parentc394ebe670054200cde4002d731a9c24c1839b16 (diff)
downloadfreebsd-ports-gnome-00c636a7e3c2ff686bf9c02749fa523da7ccbcc0.tar.gz
freebsd-ports-gnome-00c636a7e3c2ff686bf9c02749fa523da7ccbcc0.tar.zst
freebsd-ports-gnome-00c636a7e3c2ff686bf9c02749fa523da7ccbcc0.zip
Fix compilation on 10+ (clang)
Fix format of WWW entry in pkg-descr PR: 190798
-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/