Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 21:54:36 +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: r333626 - head/biology/ariadne
Message-ID:  <201311122154.rACLsaLt023598@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Nov 12 21:54:36 2013
New Revision: 333626
URL: http://svnweb.freebsd.org/changeset/ports/333626

Log:
  Stage support
  drop USE_GMAKE

Modified:
  head/biology/ariadne/Makefile

Modified: head/biology/ariadne/Makefile
==============================================================================
--- head/biology/ariadne/Makefile	Tue Nov 12 21:44:04 2013	(r333625)
+++ head/biology/ariadne/Makefile	Tue Nov 12 21:54:36 2013	(r333626)
@@ -11,28 +11,23 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Programs to compare protein sequences and profiles
 
 WRKSRC=		${WRKDIR}/SRC-${PORTVERSION}
-USE_GMAKE=	yes
 
 PLIST_FILES+=	bin/ariadne bin/prospero
+USES=		gmake
 PORTDOCS=	README
+MAKE_ARGS+=	CC="${CC}"
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}| ; \
-		s|CC =|CC ?=| ; \
 		s|CFLAGS =|CFLAGS +=| ; \
 		s|-c $(OPTIMISE)|-c $(CFLAGS) $(OPTIMIZE)|g' ${WRKSRC}/Makefile
 
-.include <bsd.port.options.mk>
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/ariadne ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/prospero ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/ariadne ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/prospero ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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