Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2013 17:25:39 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336071 - head/biology/grappa
Message-ID:  <201312101725.rBAHPdQp036647@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Dec 10 17:25:38 2013
New Revision: 336071
URL: http://svnweb.freebsd.org/changeset/ports/336071

Log:
  Support stage
  USE_GMAKE -> USES=gmake
  Respect CC

Modified:
  head/biology/grappa/Makefile

Modified: head/biology/grappa/Makefile
==============================================================================
--- head/biology/grappa/Makefile	Tue Dec 10 17:21:46 2013	(r336070)
+++ head/biology/grappa/Makefile	Tue Dec 10 17:25:38 2013	(r336071)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312101725.rBAHPdQp036647>