Date: Wed, 19 Jun 2013 19:20:26 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321314 - head/biology/tRNAscan-SE Message-ID: <201306191920.r5JJKQGB041767@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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/pu 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306191920.r5JJKQGB041767>