aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-27 19:46:11 +0800
committermiwi <miwi@FreeBSD.org>2014-02-27 19:46:11 +0800
commit037168e49ec3f2d73e62f7eb9458909409469c54 (patch)
treea107fb0e2ad7a022e9db7f8a17a564f1b3916312 /biology
parent9b1d3b99fc6075ff9ea93d8c13bb76e10c6516fa (diff)
downloadfreebsd-ports-gnome-037168e49ec3f2d73e62f7eb9458909409469c54.tar.gz
freebsd-ports-gnome-037168e49ec3f2d73e62f7eb9458909409469c54.tar.zst
freebsd-ports-gnome-037168e49ec3f2d73e62f7eb9458909409469c54.zip
- Update to 35
PR: 184245
Diffstat (limited to 'biology')
-rw-r--r--biology/blat/Makefile57
-rw-r--r--biology/blat/distinfo4
-rw-r--r--biology/blat/files/pkg-message.in2
-rw-r--r--biology/blat/pkg-descr14
4 files changed, 50 insertions, 27 deletions
diff --git a/biology/blat/Makefile b/biology/blat/Makefile
index 9d67c4dbc0d1..c9c6ce6bc03b 100644
--- a/biology/blat/Makefile
+++ b/biology/blat/Makefile
@@ -2,45 +2,68 @@
# $FreeBSD$
PORTNAME= blat
-PORTVERSION= 34
+PORTVERSION= 35
CATEGORIES= biology
-MASTER_SITES= http://www.soe.ucsc.edu/~kent/src/
+MASTER_SITES= http://hgwdev.cse.ucsc.edu/~kent/src/ \
+ http://users.soe.ucsc.edu/~kent/src/
DISTNAME= ${PORTNAME}Src${PORTVERSION}
+EXTRACT_SUFX= .zip
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast tool for local sequence similarity searches
+LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
+
+OPTIONS_DEFINE= DOCS
+
+WRKSRC= ${WRKDIR}/${PORTNAME}Src
+
USES= gmake
-EXTRACT_SUFX= .zip
+USE_OPENSSL= yes
MAKEFILE= makefile
-WRKSRC= ${WRKDIR}/${PORTNAME}Src
-MAKE_ENV+= HOME="${WRKSRC}/${BINDIR}" MACHTYPE="${ARCH}"
+MAKE_ENV= MACHTYPE="${ARCH}" HOME="${WRKSRC}/${BINDIR}" STRIP="${TRUE}"
+
+CPPFLAGS+= $$(libpng-config --cflags)
+LDFLAGS+= $$(libpng-config --ldflags)
SUB_FILES= pkg-message
+PORTDOCS= README
+PLIST_FILES= ${EXECUTABLES:S,^,bin/,} \
+ lib/blat/webBlat/webBlat \
+ lib/blat/webBlat/install.txt
+PLIST_DIRS= lib/blat/webBlat \
+ lib/blat
+
EXECUTABLES= blat faToNib faToTwoBit gfClient gfServer nibFrag \
pslPretty pslReps pslSort twoBitInfo twoBitToFa
-PLIST_FILES+= ${EXECUTABLES:S,^,bin/,}
-PORTDOCS= README
-PORTDATA= *
-
-OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
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
+ @${FIND} ${WRKSRC} -name "makefile" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|$${DESTDIR}||g'
+ @${REINPLACE_CMD} -e \
+ 's|cd |$$(MAKE) -C | ; \
+ s| &&.*||' ${WRKSRC}/makefile
+ @${REINPLACE_CMD} -e \
+ 's|^CC=|CC?=| ; \
+ s|^COPT=.*|COPT=$${CPPFLAGS}| ; \
+ s|^L=.*|L=$${LDFLAGS}|' ${WRKSRC}/inc/common.mk
do-install:
.for exe in ${EXECUTABLES}
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/${ARCH}/${exe} ${STAGEDIR}${PREFIX}/bin
+ (cd ${WRKSRC}/bin/${ARCH} && ${INSTALL_PROGRAM} ${exe} \
+ ${STAGEDIR}${PREFIX}/bin)
.endfor
- @${MKDIR} ${STAGEDIR}${DATADIR}/webBlat
- ${INSTALL_PROGRAM} ${WRKSRC}/webBlat/webBlat ${STAGEDIR}${DATADIR}/webBlat
- ${INSTALL_DATA} ${WRKSRC}/webBlat/install.txt ${STAGEDIR}${DATADIR}/webBlat
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/blat/webBlat
+ (cd ${WRKSRC}/webBlat && ${INSTALL_PROGRAM} webBlat \
+ ${STAGEDIR}${PREFIX}/lib/blat/webBlat)
+ (cd ${WRKSRC}/webBlat && ${INSTALL_DATA} install.txt \
+ ${STAGEDIR}${PREFIX}/lib/blat/webBlat)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
diff --git a/biology/blat/distinfo b/biology/blat/distinfo
index 1ffc795c1523..2c92a84ae2bf 100644
--- a/biology/blat/distinfo
+++ b/biology/blat/distinfo
@@ -1,2 +1,2 @@
-SHA256 (blatSrc34.zip) = b764828fdf8ef4c9994ae4b6148340a776493475edb573b6adf63ae7ca9b2629
-SIZE (blatSrc34.zip) = 2142975
+SHA256 (blatSrc35.zip) = 06d9bcf114ec4a4b21fef0540a0532556b6602322a5a2b33f159dc939ae53620
+SIZE (blatSrc35.zip) = 1886214
diff --git a/biology/blat/files/pkg-message.in b/biology/blat/files/pkg-message.in
index f31a1930a57f..1f988c0d687b 100644
--- a/biology/blat/files/pkg-message.in
+++ b/biology/blat/files/pkg-message.in
@@ -3,6 +3,6 @@
A CGI script (webBlat) and instructions on how to set up a BLAT web server
have been installed in
- %%DATADIR%%
+ %%PREFIX%%/lib/blat
===============================================================================
diff --git a/biology/blat/pkg-descr b/biology/blat/pkg-descr
index e6d996a232e2..639514eeeca7 100644
--- a/biology/blat/pkg-descr
+++ b/biology/blat/pkg-descr
@@ -1,9 +1,9 @@
-BLAT is a bioinformatics software tool which performs rapid mRNA/DNA
-and cross-species protein alignments. BLAT is more accurate and 500
-times faster than popular existing tools for mRNA/DNA alignments and 50
-times faster for protein alignments at sensitivity settings typically
-used when comparing vertebrate sequences. (Source: Kent, W.J. 2002. BLAT
--- The BLAST-Like Alignment Tool. Genome Research 4: 656-664.
+BLAT is a bioinformatics software tool which performs rapid mRNA/DNA and
+cross-species protein alignments. BLAT is more accurate and 500 times
+faster than popular existing tools for mRNA/DNA alignments and 50 times
+faster for protein alignments at sensitivity settings typically used
+when comparing vertebrate sequences. (Source: Kent, W.J. 2002. BLAT --
+The BLAST-Like Alignment Tool. Genome Research 4: 656-664.
http://dx.doi.org/10.1101/gr.229202)
BLAT is not BLAST. DNA BLAT works by keeping an index of the entire
@@ -11,4 +11,4 @@ genome (but not the genome itself) in memory. Since the index takes up a
bit less than a gigabyte of RAM, BLAT can deliver high performance on a
reasonably priced Linux box.
-WWW: http://www.genomeblat.com
+WWW: http://users.soe.ucsc.edu/~kent/