aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
Diffstat (limited to 'biology')
-rw-r--r--biology/grappa/Makefile13
1 files 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 <bsd.port.mk>