From 67c403a63a11dacf7f2865a0c6c496b92bcd322f Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 10 Dec 2013 17:25:38 +0000 Subject: [PATCH] Support stage USE_GMAKE -> USES=gmake Respect CC --- biology/grappa/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/biology/grappa/Makefile b/biology/grappa/Makefile index 75554c818dbe..2d9fabf89c14 100644 --- a/biology/grappa/Makefile +++ b/biology/grappa/Makefile @@ -10,17 +10,14 @@ DISTNAME= GRAPPA20 MAINTAINER= ports@FreeBSD.org COMMENT= Genome Rearrangements Analysis and Phylogeny Software -USE_GMAKE= yes +USES= gmake +MAKE_ARGS= CC="${CC}" PLIST_FILES= bin/grappa bin/invdist bin/distmat -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/${MAKEFILE} - do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/grappa ${PREFIX}/bin - ${LN} -sf ${PREFIX}/bin/grappa ${PREFIX}/bin/invdist - ${LN} -sf ${PREFIX}/bin/grappa ${PREFIX}/bin/distmat + ${INSTALL_PROGRAM} ${WRKSRC}/grappa ${STAGEDIR}${PREFIX}/bin + ${LN} -sf ${PREFIX}/bin/grappa ${STAGEDIR}${PREFIX}/bin/invdist + ${LN} -sf ${PREFIX}/bin/grappa ${STAGEDIR}${PREFIX}/bin/distmat .include