ports/142409: [patch] biology/wise correct packing list & use $SUB_FILES to dynamically adjust pkg-message

Sevan Janiyan venture37 at geeklan.co.uk
Thu Jan 7 06:00:13 UTC 2010


>Number:         142409
>Category:       ports
>Synopsis:       [patch] biology/wise correct packing list &  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 06:00:12 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/wise/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	26 Dec 2006 12:46:33 -0000	1.8
+++ Makefile	7 Jan 2010 05:50:14 -0000
@@ -17,6 +17,7 @@
 WRKTOP=		${WRKDIR}/${DISTNAME}
 WRKSRC=		${WRKTOP}/src
 MAKEFILE=	makefile
+SUB_FILES=	pkg-message
 
 #
 # Actually want an 'ALL_TARGET = all perl' which then requires
@@ -90,6 +91,6 @@
 .endif
 
 post-install:
-	@${SED} -E -e 's#PREFIX#${PREFIX}#' -e '/(^\[|]$$)/d' ${PKGMESSAGE}
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	10 Sep 2002 13:58:40 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-Welcome to Wise2.2
-
-You must set your WISECONFIGDIR to the config directory before
-using the programs:
-
-in (t)csh:  setenv WISECONFIGDIR PREFIX/share/wise/
-in (ba)sh:  export WISECONFIGDIR=PREFIX/share/wise/
-
-To try an example:
-
-cd PREFIX/share/examples/wise
-genewise road.pep human.genomic
-
-[Replace 'PREFIX' above with the actual installation prefix,
-which by default is '/usr/local'.]
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/biology/wise/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pkg-plist	22 Oct 2003 09:29:54 -0000	1.3
+++ pkg-plist	7 Jan 2010 05:50:14 -0000
@@ -10,44 +10,44 @@
 %%PORTDOCS%%%%DOCSDIR%%/wise2.tex
 %%PORTDOCS%%%%DOCSDIR%%/wise2api.tex
 %%PORTDOCS%%%%DOCSDIR%%/wise3arch.tex
-%%PORTDOCS%%share/examples/wise/README
-%%PORTDOCS%%share/examples/wise/db.hmm
-%%PORTDOCS%%share/examples/wise/hn_est.fa
-%%PORTDOCS%%share/examples/wise/human.genomic
-%%PORTDOCS%%share/examples/wise/keratin_intron.human
-%%PORTDOCS%%share/examples/wise/keratin_intron.mouse
-%%PORTDOCS%%share/examples/wise/pep.fa
-%%PORTDOCS%%share/examples/wise/road.pep
-%%PORTDOCS%%share/examples/wise/rrm.HMM
-%%PORTDOCS%%share/examples/wise/vav.dna
-%%PORTDOCS%%share/examples/wise/xeno.cdna
-%%PORTDOCS%%share/examples/wise/xeno.pep
-share/wise/BLOSUM30.bla
-share/wise/BLOSUM45.bla
-share/wise/BLOSUM62.bla
-share/wise/BLOSUM80.bla
-share/wise/aa.rnd
-share/wise/blosum30.bla
-share/wise/blosum62.bla
-share/wise/cb.tmf
-share/wise/codon.table
-share/wise/gene.stat
-share/wise/gon120.bla
-share/wise/gon160.bla
-share/wise/gon200.bla
-share/wise/gon250.bla
-share/wise/gon350.bla
-share/wise/human.gf
-share/wise/human.gp
-share/wise/human.stats
-share/wise/idenity.bla
-share/wise/methods
-share/wise/pb.gf
-share/wise/pombe.gf
-share/wise/tm.pri
-share/wise/wise.2
-share/wise/wise.per
-share/wise/worm.gf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/db.hmm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hn_est.fa
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/human.genomic
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keratin_intron.human
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keratin_intron.mouse
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pep.fa
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/road.pep
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rrm.HMM
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vav.dna
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xeno.cdna
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xeno.pep
+%%DATADIR%%/BLOSUM30.bla
+%%DATADIR%%/BLOSUM45.bla
+%%DATADIR%%/BLOSUM62.bla
+%%DATADIR%%/BLOSUM80.bla
+%%DATADIR%%/aa.rnd
+%%DATADIR%%/blosum30.bla
+%%DATADIR%%/blosum62.bla
+%%DATADIR%%/cb.tmf
+%%DATADIR%%/codon.table
+%%DATADIR%%/gene.stat
+%%DATADIR%%/gon120.bla
+%%DATADIR%%/gon160.bla
+%%DATADIR%%/gon200.bla
+%%DATADIR%%/gon250.bla
+%%DATADIR%%/gon350.bla
+%%DATADIR%%/human.gf
+%%DATADIR%%/human.gp
+%%DATADIR%%/human.stats
+%%DATADIR%%/idenity.bla
+%%DATADIR%%/methods
+%%DATADIR%%/pb.gf
+%%DATADIR%%/pombe.gf
+%%DATADIR%%/tm.pri
+%%DATADIR%%/wise.2
+%%DATADIR%%/wise.per
+%%DATADIR%%/worm.gf
 bin/dba
 bin/dnal
 bin/estwise
@@ -57,5 +57,5 @@
 bin/psw
 bin/pswdb
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTDOCS%%@dirrm share/examples/wise
- at dirrm share/wise
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDATA%%@dirrm %%DATADIR%%
Index: files/pkg-message.in
===================================================================
RCS file: files/pkg-message.in
diff -N files/pkg-message.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message.in	7 Jan 2010 05:50:14 -0000
@@ -0,0 +1,12 @@
+Welcome to Wise2.2
+
+You must set your WISECONFIGDIR to the config directory before
+using the programs:
+
+in (t)csh:  setenv WISECONFIGDIR %%PREFIX%%/share/wise/
+in (ba)sh:  export WISECONFIGDIR=%%PREFIX%%/share/wise/
+
+To try an example:
+
+cd %%PREFIX%%/share/examples/wise
+genewise road.pep human.genomic


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



More information about the freebsd-ports-bugs mailing list