aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-08 09:30:20 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-08 09:30:20 +0800
commit903bbb9b089bdb29e005af697af3848b6f65da05 (patch)
treeace72468eaae1731ca5c550c061a103d2395bc8b /biology
parent6c4ebfd93871346af44fb22c1b241c431ac7a51f (diff)
downloadfreebsd-ports-gnome-903bbb9b089bdb29e005af697af3848b6f65da05.tar.gz
freebsd-ports-gnome-903bbb9b089bdb29e005af697af3848b6f65da05.tar.zst
freebsd-ports-gnome-903bbb9b089bdb29e005af697af3848b6f65da05.zip
- SBU_FILES += pkg-message
PR: ports/142409 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Diffstat (limited to 'biology')
-rw-r--r--biology/wise/Makefile3
-rw-r--r--biology/wise/files/pkg-message.in12
-rw-r--r--biology/wise/pkg-message15
-rw-r--r--biology/wise/pkg-plist80
4 files changed, 54 insertions, 56 deletions
diff --git a/biology/wise/Makefile b/biology/wise/Makefile
index a4d752964434..c7c1e5980911 100644
--- a/biology/wise/Makefile
+++ b/biology/wise/Makefile
@@ -17,6 +17,7 @@ COMMENT= Intelligent algorithms for DNA searches
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 @@ do-install:
.endif
post-install:
- @${SED} -E -e 's#PREFIX#${PREFIX}#' -e '/(^\[|]$$)/d' ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/biology/wise/files/pkg-message.in b/biology/wise/files/pkg-message.in
new file mode 100644
index 000000000000..925489dded9b
--- /dev/null
+++ b/biology/wise/files/pkg-message.in
@@ -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
diff --git a/biology/wise/pkg-message b/biology/wise/pkg-message
deleted file mode 100644
index 434ac35ab71b..000000000000
--- a/biology/wise/pkg-message
+++ /dev/null
@@ -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'.]
diff --git a/biology/wise/pkg-plist b/biology/wise/pkg-plist
index 966e021874c6..7c54ebc1c104 100644
--- a/biology/wise/pkg-plist
+++ b/biology/wise/pkg-plist
@@ -10,44 +10,44 @@ bin/genomewise
%%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/genewisedb
bin/psw
bin/pswdb
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTDOCS%%@dirrm share/examples/wise
-@dirrm share/wise
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDATA%%@dirrm %%DATADIR%%