aboutsummaryrefslogtreecommitdiff
path: root/biology/tRNAscan-SE/Makefile
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-06-19 19:20:25 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-06-19 19:20:25 +0000
commit0c61d2954c7ec988719977ec73edaac07353d38c (patch)
tree37b886aed040c9e3178801c754090fd5f324d6dd /biology/tRNAscan-SE/Makefile
parent8def27fa74c641a1d6696b926678f69f71db3c92 (diff)
Notes
Diffstat (limited to 'biology/tRNAscan-SE/Makefile')
-rw-r--r--biology/tRNAscan-SE/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/biology/tRNAscan-SE/Makefile b/biology/tRNAscan-SE/Makefile
index da7e62619150..d69b39a70522 100644
--- a/biology/tRNAscan-SE/Makefile
+++ b/biology/tRNAscan-SE/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: tRNAscan-SE
-# Date created: 15 Jan 2002
-# Whom: chuynh@biolateral.com.au
-#
+# Created by: chuynh@biolateral.com.au
# $FreeBSD$
-#
PORTNAME= tRNAscan-SE
PORTVERSION= 1.23
@@ -13,7 +9,7 @@ MASTER_SITES= ftp://selab.janelia.org/pub/software/tRNAscan-SE/
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
-COMMENT= An improved tool for transfer RNA detection
+COMMENT= Improved tool for transfer RNA detection
USE_PERL5= yes
MAKE_ARGS= BINDIR="${PREFIX}/bin" \
@@ -21,7 +17,12 @@ MAKE_ARGS= BINDIR="${PREFIX}/bin" \
CC="${CC}" \
CFLAGS="${CFLAGS}"
+PLIST_FILES+= bin/covels-SE bin/coves-SE bin/eufindtRNA bin/tRNAscan-SE bin/trnascan-1.4
MAN1= tRNAscan-SE.1
+PORTDATA= *
+PORTDOCS= Manual.ps
+
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|tRNAscanSE setpaths|tRNAscanSE|g ; \
@@ -38,12 +39,14 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
.endfor
+.include <bsd.port.options.mk>
+
#
# have to install before testing as path to data files is hardcoded
#
post-install:
- @ cd ${WRKSRC} && $(MAKE) testrun
-.if !defined(NOPORTDOCS)
+ @ cd ${WRKSRC} && ${MAKE} testrun
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Manual.ps ${DOCSDIR}
.endif