aboutsummaryrefslogtreecommitdiff
path: root/biology/blat
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-06-19 18:43:13 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-06-19 18:43:13 +0000
commitcb68e7ac4adafdd6b9033c5634925a3213f4e553 (patch)
treebc8a1509b1e84215fafb5b80cc63de9b89f70a9f /biology/blat
parent52d1606f7c08d83c49c00dfd48b6820a83a9c8a1 (diff)
downloadports-cb68e7ac4adafdd6b9033c5634925a3213f4e553.tar.gz
ports-cb68e7ac4adafdd6b9033c5634925a3213f4e553.zip
Notes
Diffstat (limited to 'biology/blat')
-rw-r--r--biology/blat/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/biology/blat/Makefile b/biology/blat/Makefile
index 891973124098..6010ffc4bf0d 100644
--- a/biology/blat/Makefile
+++ b/biology/blat/Makefile
@@ -8,7 +8,7 @@ MASTER_SITES= http://www.soe.ucsc.edu/~kent/src/
DISTNAME= ${PORTNAME}Src${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= A fast tool for local sequence similarity searches
+COMMENT= Fast tool for local sequence similarity searches
USE_ZIP= yes
USE_GMAKE= yes
@@ -21,25 +21,35 @@ SUB_FILES= pkg-message
EXECUTABLES= blat faToNib faToTwoBit gfClient gfServer nibFrag \
pslPretty pslReps pslSort twoBitInfo twoBitToFa
+PLIST_FILES+= ${EXECUTABLES:S,^,bin/,}
+PORTDOCS= README
+PORTDATA= *
+
+OPTIONS_DEFINE= DOCS
+
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
.endfor
- ${MKDIR} ${DATADIR}/webBlat
+ @${MKDIR} ${DATADIR}/webBlat
${INSTALL_PROGRAM} ${WRKSRC}/webBlat/webBlat ${DATADIR}/webBlat
${INSTALL_DATA} ${WRKSRC}/webBlat/install.txt ${DATADIR}/webBlat
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
post-install:
+ @${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
.include <bsd.port.mk>