svn commit: r321314 - head/biology/tRNAscan-SE
Boris Samorodov
bsam at FreeBSD.org
Wed Jun 19 19:20:26 UTC 2013
Author: bsam
Date: Wed Jun 19 19:20:25 2013
New Revision: 321314
URL: http://svnweb.freebsd.org/changeset/ports/321314
Log:
. NOPORTDOCS -> PORT_OPTIONS:MDOCS;
. pet portlint: use {} instaed of () at variable;
. use PLIST_FILES, PORTDATA and PORTDOCS at Makefile;
. get rid of pkg-plist;
. remove article from COMMENT;
. trim Makefile headers.
Deleted:
head/biology/tRNAscan-SE/pkg-plist
Modified:
head/biology/tRNAscan-SE/Makefile
Modified: head/biology/tRNAscan-SE/Makefile
==============================================================================
--- head/biology/tRNAscan-SE/Makefile Wed Jun 19 19:15:14 2013 (r321313)
+++ head/biology/tRNAscan-SE/Makefile Wed Jun 19 19:20:25 2013 (r321314)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: tRNAscan-SE
-# Date created: 15 Jan 2002
-# Whom: chuynh at biolateral.com.au
-#
+# Created by: chuynh at biolateral.com.au
# $FreeBSD$
-#
PORTNAME= tRNAscan-SE
PORTVERSION= 1.23
@@ -13,7 +9,7 @@ MASTER_SITES= ftp://selab.janelia.org/pu
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports at 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
More information about the svn-ports-head
mailing list