diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-06-27 14:14:01 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-06-27 14:14:01 +0000 |
commit | 2a912e1c5e4be08da2ea6566287d72dc0f3ea08a (patch) | |
tree | c3d0737f2f5ad6e044e0be33ea494b26a383e78b /biology/mummer/Makefile | |
parent | 81a246956288bb6bf0cd5af7ffbc14b3e2993153 (diff) |
Fix compilation on 10+ (clang)
Fix format of WWW entry in pkg-descr
PR: 190798
Notes
Notes:
svn path=/head/; revision=359532
Diffstat (limited to 'biology/mummer/Makefile')
-rw-r--r-- | biology/mummer/Makefile | 10 |
1 files changed, 9 insertions, 1 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 |