diff options
author | bapt <bapt@FreeBSD.org> | 2013-11-13 06:02:02 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-11-13 06:02:02 +0800 |
commit | e0dc567934fa4b5b311b32c1be4dc7d9145c600c (patch) | |
tree | 9463586021231fbdc52c95f15e1d2d3eab686d0d /biology | |
parent | b401eba1908c968e252c0f7e90924558b3140991 (diff) | |
download | freebsd-ports-graphics-e0dc567934fa4b5b311b32c1be4dc7d9145c600c.tar.gz freebsd-ports-graphics-e0dc567934fa4b5b311b32c1be4dc7d9145c600c.tar.zst freebsd-ports-graphics-e0dc567934fa4b5b311b32c1be4dc7d9145c600c.zip |
Add stage support
Use bsdtar to extract the distfile
Rip out USE_GMAKE
Diffstat (limited to 'biology')
-rw-r--r-- | biology/blat/Makefile | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/biology/blat/Makefile b/biology/blat/Makefile index d887d1df9fc..9d67c4dbc0d 100644 --- a/biology/blat/Makefile +++ b/biology/blat/Makefile @@ -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> |