aboutsummaryrefslogtreecommitdiffstats
path: root/biology/grappa
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-11 01:25:38 +0800
committerbapt <bapt@FreeBSD.org>2013-12-11 01:25:38 +0800
commit944d8cbfa537f85c46f507f139c1ce6d9b1648cf (patch)
tree3feebd746ea7db705583540f9dce6995f7a72b7e /biology/grappa
parenta8a614b49d1a0818603a396fdbb8c6b6d948ef62 (diff)
downloadfreebsd-ports-gnome-944d8cbfa537f85c46f507f139c1ce6d9b1648cf.tar.gz
freebsd-ports-gnome-944d8cbfa537f85c46f507f139c1ce6d9b1648cf.tar.zst
freebsd-ports-gnome-944d8cbfa537f85c46f507f139c1ce6d9b1648cf.zip
Support stage
USE_GMAKE -> USES=gmake Respect CC
Diffstat (limited to 'biology/grappa')
-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>