diff options
author | bsam <bsam@FreeBSD.org> | 2013-06-20 03:20:25 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-06-20 03:20:25 +0800 |
commit | b77b88131ad2592fbc870d45bd234c4bed1fa607 (patch) | |
tree | 37b886aed040c9e3178801c754090fd5f324d6dd | |
parent | c86088a17ad9098bf525f203d465b61522b10296 (diff) | |
download | freebsd-ports-gnome-b77b88131ad2592fbc870d45bd234c4bed1fa607.tar.gz freebsd-ports-gnome-b77b88131ad2592fbc870d45bd234c4bed1fa607.tar.zst freebsd-ports-gnome-b77b88131ad2592fbc870d45bd234c4bed1fa607.zip |
. 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.
-rw-r--r-- | biology/tRNAscan-SE/Makefile | 19 | ||||
-rw-r--r-- | biology/tRNAscan-SE/pkg-plist | 26 |
2 files changed, 11 insertions, 34 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 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%% |