Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 22:02:02 +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: r333628 - head/biology/blat
Message-ID:  <201311122202.rACM22vF026893@svn.freebsd.org>

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

Log:
  Add stage support
  Use bsdtar to extract the distfile
  Rip out USE_GMAKE

Modified:
  head/biology/blat/Makefile

Modified: head/biology/blat/Makefile
==============================================================================
--- head/biology/blat/Makefile	Tue Nov 12 21:55:54 2013	(r333627)
+++ head/biology/blat/Makefile	Tue Nov 12 22:02:02 2013	(r333628)
@@ -10,8 +10,8 @@ DISTNAME=	${PORTNAME}Src${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Fast tool for local sequence similarity searches
 
-USE_ZIP=	yes
-USE_GMAKE=	yes
+USES=		gmake
+EXTRACT_SUFX=	.zip
 MAKEFILE=	makefile
 WRKSRC=		${WRKDIR}/${PORTNAME}Src
 MAKE_ENV+=	HOME="${WRKSRC}/${BINDIR}" MACHTYPE="${ARCH}"
@@ -27,30 +27,20 @@ PORTDATA=	*
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 post-patch:
 	@${MKDIR} ${WRKSRC}/bin/${ARCH}
 	@${MKDIR} ${WRKSRC}/lib/${ARCH}
 	@${REINPLACE_CMD} -E 's,^(CC|CFLAGS)=,\1 ?=,g;s,-Werror,,g' \
 		${WRKSRC}/inc/common.mk
 
-.include <bsd.port.options.mk>
-
 do-install:
 .for exe in ${EXECUTABLES}
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/${ARCH}/${exe} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/${ARCH}/${exe} ${STAGEDIR}${PREFIX}/bin
 .endfor
-	@${MKDIR} ${DATADIR}/webBlat
-	${INSTALL_PROGRAM} ${WRKSRC}/webBlat/webBlat ${DATADIR}/webBlat
-	${INSTALL_DATA} ${WRKSRC}/webBlat/install.txt ${DATADIR}/webBlat
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
-
-post-install:
-	@${ECHO_MSG}
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO_MSG}
+	@${MKDIR} ${STAGEDIR}${DATADIR}/webBlat
+	${INSTALL_PROGRAM} ${WRKSRC}/webBlat/webBlat ${STAGEDIR}${DATADIR}/webBlat
+	${INSTALL_DATA} ${WRKSRC}/webBlat/install.txt ${STAGEDIR}${DATADIR}/webBlat
+	@${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?201311122202.rACM22vF026893>