1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/biology/blat/Makefile
Renato Botelho 0694735737 Add blat 33, a fast tool for local sequence similarity searches.
PR:		ports/93060
Submitted by:	Fernan Aguero <fernan@iib.unsam.edu.ar>
2006-03-15 10:26:12 +00:00

58 lines
1.4 KiB
Makefile

# ex:ts=8
# New ports collection makefile for: blat
# Date created: 08 Dec 2005
# Whom: Fernan Aguero <fernan@iib.unsam.edu.ar>
#
# $FreeBSD$
#
PORTNAME= blat
PORTVERSION= 33
CATEGORIES= biology
MASTER_SITES= http://www.soe.ucsc.edu/~kent/src/
DISTNAME= ${PORTNAME}Src${PORTVERSION}
MAINTAINER= fernan@iib.unsam.edu.ar
COMMENT= A fast tool for local sequence similarity searches
USE_ZIP= yes
USE_GMAKE= yes
USE_GCC= 3.4+
MAKEFILE= makefile
WRKSRC= ${WRKDIR}/${PORTNAME}Src
MAKE_ENV+= HOME="${WRKSRC}/${BINDIR}"
SUB_FILES= pkg-message
EXECUTABLES= blat faToNib faToTwoBit gfClient gfServer nibFrag \
pslPretty pslReps pslSort twoBitInfo twoBitToFa
.include <bsd.port.pre.mk>
post-patch:
@${MKDIR} ${WRKSRC}/bin/${MACHTYPE}
@${MKDIR} ${WRKSRC}/lib/${MACHTYPE}
@${REINPLACE_CMD} -E 's,^(CC|CFLAGS)=,\1 ?=,g' \
${WRKSRC}/inc/common.mk
.if ${OSVERSION} <= 500000
@${REINPLACE_CMD} -e 's,strtof,\(float\) strtod,g' \
${WRKSRC}/lib/sqlNum.c
.endif
do-install:
.for exe in ${EXECUTABLES}
${INSTALL_PROGRAM} ${WRKSRC}/bin/${MACHTYPE}/${exe} ${PREFIX}/bin
.endfor
${MKDIR} ${DATADIR}/webBlat
${INSTALL_PROGRAM} ${WRKSRC}/webBlat/webBlat ${DATADIR}/webBlat
${INSTALL_DATA} ${WRKSRC}/webBlat/install.txt ${DATADIR}/webBlat
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>