From b77b88131ad2592fbc870d45bd234c4bed1fa607 Mon Sep 17 00:00:00 2001 From: bsam Date: Wed, 19 Jun 2013 19:20:25 +0000 Subject: . 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. --- biology/tRNAscan-SE/Makefile | 19 +++++++++++-------- biology/tRNAscan-SE/pkg-plist | 26 -------------------------- 2 files changed, 11 insertions(+), 34 deletions(-) delete mode 100644 biology/tRNAscan-SE/pkg-plist 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 + # # 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 diff --git a/biology/tRNAscan-SE/pkg-plist b/biology/tRNAscan-SE/pkg-plist deleted file mode 100644 index 086d2cf6325b..000000000000 --- a/biology/tRNAscan-SE/pkg-plist +++ /dev/null @@ -1,26 +0,0 @@ -bin/covels-SE -bin/coves-SE -bin/eufindtRNA -bin/tRNAscan-SE -bin/trnascan-1.4 -%%PORTDOCS%%%%DOCSDIR%%/Manual.ps -%%DATADIR%%/TPCsignal -%%DATADIR%%/gcode.vertmito -%%DATADIR%%/gcode.othmito -%%DATADIR%%/gcode.invmito -%%DATADIR%%/gcode.echdmito -%%DATADIR%%/gcode.cilnuc -%%DATADIR%%/TRNA2ns.cm -%%DATADIR%%/TRNA2.cm -%%DATADIR%%/TRNA2-eukns.cm -%%DATADIR%%/TRNA2-euk.cm -%%DATADIR%%/TRNA2-bactns.cm -%%DATADIR%%/TRNA2-bact.cm -%%DATADIR%%/TRNA2-archns.cm -%%DATADIR%%/TRNA2-arch.cm -%%DATADIR%%/PSELC.cm -%%DATADIR%%/ESELC.cm -%%DATADIR%%/Dsignal -%%DATADIR%%/gcode.ystmito -@dirrm %%DATADIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit