aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-06-20 02:43:13 +0800
committerbsam <bsam@FreeBSD.org>2013-06-20 02:43:13 +0800
commit6349167bb6498ff163f79a090253652395deede0 (patch)
treebc8a1509b1e84215fafb5b80cc63de9b89f70a9f
parent968f4ce380ab96e7ff0f3e6318e675aee516fb91 (diff)
downloadfreebsd-ports-gnome-6349167bb6498ff163f79a090253652395deede0.tar.gz
freebsd-ports-gnome-6349167bb6498ff163f79a090253652395deede0.tar.zst
freebsd-ports-gnome-6349167bb6498ff163f79a090253652395deede0.zip
. NOPORTDOCS -> PORT_OPTIONS:MDOCS;
. use PORTDOCS and PORTDATA at makefile; . mute mkdirs; . add padding to PKGMESSAGE; . remove article from COMMENT.
-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>