Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2010 05:12:58 GMT
From:      Sevan Janiyan <venture37@geeklan.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/142407: [patch] biology/blast use $SUB_FILES to dynamically adjust pkg-message
Message-ID:  <201001070512.o075Cwf9024961@www.freebsd.org>
Resent-Message-ID: <201001070520.o075K2qD026147@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         142407
>Category:       ports
>Synopsis:       [patch] biology/blast use $SUB_FILES to dynamically adjust pkg-message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 07 05:20:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sevan Janiyan
>Release:        
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/biology/blast/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	5 Jan 2009 17:27:23 -0000	1.8
+++ Makefile	7 Jan 2010 05:07:46 -0000
@@ -36,6 +36,7 @@
 SCRIPTS=	wu-blastall wu-formatdb
 BLASTA_LINKS=	blastn blastp blastx tblastn tblastx
 XDFORMAT_LINKS=	setdb pressdb
+SUB_FILES=	pkg-message
 
 .include <bsd.port.pre.mk>
 
@@ -49,9 +50,6 @@
 IGNORE=		You must manually fetch ${PORTNAME}${PORTVERSION:S/.0//} for the FreeBSD platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
 .endif
 
-post-patch:
-	@${SED} -e 's,%%DATADIR%%,${DATADIR},g' < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
-
 do-install:
 .for bin in ${BINS}
 	${INSTALL_PROGRAM} ${WRKSRC}/${bin} ${PREFIX}/bin


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001070512.o075Cwf9024961>