View | Details | Raw Unified | Return to bug 176552
Collapse All | Expand All

(-)biology/wise/Makefile (-63 / +45 lines)
Lines 1-24 Link Here
1
# New ports collection makefile for:	wise
1
# Created by: Tony Maher <tonym@biolateral.com.au>
2
# Date created:				26 February 2002
3
# Whom:					Tony Maher <tonym@biolateral.com.au>
4
#
5
# $FreeBSD: head/biology/wise/Makefile 300895 2012-07-14 12:56:14Z beat $
2
# $FreeBSD: head/biology/wise/Makefile 300895 2012-07-14 12:56:14Z beat $
6
#
7
3
8
PORTNAME=	wise
4
PORTNAME=	wise
9
PORTVERSION=	2.2.0
5
PORTVERSION=	2.4.1
10
CATEGORIES=	biology
6
CATEGORIES=	biology
11
MASTER_SITES=	ftp://ftp.ebi.ac.uk/pub/software/unix/wise2/
7
MASTER_SITES=	http://www.ebi.ac.uk/~birney/wise2/
12
DISTNAME=	${PORTNAME}${PORTVERSION}
8
DISTNAME=	${PORTNAME}${PORTVERSION}
13
9
14
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Intelligent algorithms for DNA searches
11
COMMENT=	Intelligent algorithms for DNA searches
16
12
17
WRKTOP=		${WRKDIR}/${DISTNAME}
13
OPTIONS_DEFINE=	DOCS EXAMPLES
18
WRKSRC=		${WRKTOP}/src
14
15
BUILD_WRKSRC=	${WRKSRC}/src
16
17
USE_GNOME=	glib20
19
MAKEFILE=	makefile
18
MAKEFILE=	makefile
19
MAKE_JOBS_SAFE=	yes
20
20
SUB_FILES=	pkg-message
21
SUB_FILES=	pkg-message
21
22
23
PORTDOCS=	*
24
PORTEXAMPLES=	*
25
PLIST_FILES=	${BINFILES:S,^,bin/,} ${DATAFILES:S,^,%%DATADIR%%/,}
26
PLIST_DIRS=	%%DATADIR%%
27
22
#
28
#
23
# Actually want an 'ALL_TARGET = all perl' which then requires
29
# Actually want an 'ALL_TARGET = all perl' which then requires
24
# 'USE_PERL5= yes' but the perl sub-build is currently broken.
30
# 'USE_PERL5= yes' but the perl sub-build is currently broken.
Lines 29-96 Link Here
29
# something like '@cd ${WRKSRC}/perl/Wise2; ${MAKE} install'
35
# something like '@cd ${WRKSRC}/perl/Wise2; ${MAKE} install'
30
#
36
#
31
37
32
BINFILES=	dba dnal estwise estwisedb genewise genewisedb \
38
BINFILES=	dba dnal estwise estwisedb genewise genewisedb promoterwise \
33
		genomewise psw pswdb
39
		psw pswdb scanwise scanwise_server
34
DATAFILES=	BLOSUM30.bla BLOSUM45.bla BLOSUM62.bla BLOSUM80.bla \
40
DATAFILES=	BLOSUM30.bla BLOSUM45.bla BLOSUM62.bla BLOSUM80.bla aa.rnd \
35
		aa.rnd blosum30.bla blosum62.bla cb.tmf codon.table \
41
		cb.tmf codon.table gene.stat gon120.bla gon160.bla \
36
		gene.stat gon120.bla gon160.bla gon200.bla gon250.bla \
42
		gon200.bla gon250.bla gon350.bla human.gf human.gp \
37
		gon350.bla human.gf human.gp human.stats idenity.bla \
43
		human.stats idenity.bla methods pb.gf pombe.gf tm.pri \
38
		methods pb.gf pombe.gf tm.pri wise.2 wise.per worm.gf
44
		wise.2 wise.per worm.gf
39
DOCFILES=	README apiend.tex appendix.tex dynamite.tex \
45
40
		genewise21.eps genewise6.eps gettex.pl makefile \
46
.include <bsd.port.options.mk>
41
		wise2.tex wise2api.tex wise3arch.tex
47
42
EXFILES=	README db.hmm hn_est.fa human.genomic \
48
post-patch:
43
		keratin_intron.human keratin_intron.mouse pep.fa \
49
	@${FIND} ${BUILD_WRKSRC} -name "makefile" | ${XARGS} \
44
		road.pep rrm.HMM vav.dna xeno.cdna xeno.pep
50
		${REINPLACE_CMD} -e \
45
51
		's|^CC =|CC ?=| ; \
46
#
52
		 s|^CFLAGS =|CFLAGS +=| ; \
47
# Top level makefile does not respect CFLAGS.  Fixing it means
53
		 s|-O[0-9] | | ; \
48
# having to fix some of the sub-directory makefiles.
54
		 s|-g | | ; \
49
# Note: some makefiles are ok and know that '-c' does not belong
55
		 s|-g[0-9] | | ; \
50
# in CFLAGS and are part of the rule.
56
		 s|-lpthread|-pthread| ; \
51
#
57
		 s|glib-config|pkg-config glib-2.0| ; \
52
58
		 /welcome.csh/s|^|#|'
53
post-configure:
54
	@${REINPLACE_CMD} \
55
		-e s'#^CFLAGS = -c -O#CFLAGS ?= -c -O#;' \
56
		-e s'#\tcsh welcome.csh##;' \
57
		${WRKSRC}/${MAKEFILE}
58
	@${REINPLACE_CMD} \
59
		-e s'#CFLAGS) $?#CFLAGS) -c $?#;' \
60
		${WRKSRC}/base/${MAKEFILE}
61
	@${REINPLACE_CMD} \
62
		-e s'#INCFLAGS) $?#INCFLAGS) -c $?#;' \
63
		${WRKSRC}/dynlibsrc/${MAKEFILE}
64
	@${REINPLACE_CMD} \
65
		-e s'#INCFLAGS) $?#INCFLAGS) -c $?#;' \
66
		-e s'#CFLAGS) estwise.c#CFLAGS) -c estwise.c#;' \
67
		-e s'#CFLAGS) estwiseb.c#CFLAGS) -c estwiseb.c#;' \
68
		-e s'#CFLAGS) estwisedb.c#CFLAGS) -c estwisedb.c#;' \
69
		-e s'#CFLAGS) genewise.c#CFLAGS) -c genewise.c#;' \
70
		-e s'#CFLAGS) genewisedb.c#CFLAGS) -c genewisedb.c#;' \
71
		${WRKSRC}/models/${MAKEFILE}
72
59
73
do-install:
60
do-install:
74
.for file in ${BINFILES}
61
.for i in ${BINFILES}
75
	@${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/bin
62
	(cd ${BUILD_WRKSRC}/bin && ${INSTALL_PROGRAM} ${i} ${PREFIX}/bin)
76
.endfor
63
.endfor
77
	@${MKDIR} ${DATADIR}
64
	@${MKDIR} ${DATADIR}
78
.for file in ${DATAFILES}
65
.for i in ${DATAFILES}
79
	@${INSTALL_DATA} ${WRKTOP}/wisecfg/${file} ${DATADIR}
66
	(cd ${WRKSRC}/wisecfg && ${INSTALL_DATA} ${i} ${DATADIR})
80
.endfor
67
.endfor
81
.if !defined(NOPORTDOCS)
68
.if ${PORT_OPTIONS:MDOCS}
82
	@${MKDIR} ${DOCSDIR}
69
	@${MKDIR} ${DOCSDIR}
83
.for file in ${DOCFILES}
70
	@(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR})
84
	@${INSTALL_DATA} ${WRKTOP}/docs/${file} ${DOCSDIR}
71
.endif
85
.endfor
72
.if ${PORT_OPTIONS:MEXAMPLES}
86
	 @${MKDIR} ${EXAMPLESDIR}
73
	 @${MKDIR} ${EXAMPLESDIR}
87
.for file in ${EXFILES}
74
	@(cd ${WRKSRC}/test_data && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
88
	@${INSTALL_DATA} ${WRKTOP}/test_data/${file} ${EXAMPLESDIR}
89
.endfor
90
91
.endif
75
.endif
92
93
post-install:
94
	@${CAT} ${PKGMESSAGE}
76
	@${CAT} ${PKGMESSAGE}
95
77
96
.include <bsd.port.mk>
78
.include <bsd.port.mk>
(-)biology/wise/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (wise2.2.0.tar.gz) = 192db34ffa76ef14a9804cc5a7ab72554498284c841f940f8951b4bfae96d780
1
SHA256 (wise2.4.1.tar.gz) = 240e2b12d6cd899040e2efbcb85b0d3c10245c255f3d07c1db45d0af5a4d5fa1
2
SIZE (wise2.2.0.tar.gz) = 2108151
2
SIZE (wise2.4.1.tar.gz) = 3193910
(-)biology/wise/pkg-plist (-61 lines)
Lines 1-61 Link Here
1
bin/genomewise
2
%%PORTDOCS%%%%DOCSDIR%%/README
3
%%PORTDOCS%%%%DOCSDIR%%/apiend.tex
4
%%PORTDOCS%%%%DOCSDIR%%/appendix.tex
5
%%PORTDOCS%%%%DOCSDIR%%/dynamite.tex
6
%%PORTDOCS%%%%DOCSDIR%%/genewise21.eps
7
%%PORTDOCS%%%%DOCSDIR%%/genewise6.eps
8
%%PORTDOCS%%%%DOCSDIR%%/gettex.pl
9
%%PORTDOCS%%%%DOCSDIR%%/makefile
10
%%PORTDOCS%%%%DOCSDIR%%/wise2.tex
11
%%PORTDOCS%%%%DOCSDIR%%/wise2api.tex
12
%%PORTDOCS%%%%DOCSDIR%%/wise3arch.tex
13
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
14
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/db.hmm
15
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hn_est.fa
16
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/human.genomic
17
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keratin_intron.human
18
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keratin_intron.mouse
19
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pep.fa
20
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/road.pep
21
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rrm.HMM
22
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vav.dna
23
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xeno.cdna
24
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xeno.pep
25
%%DATADIR%%/BLOSUM30.bla
26
%%DATADIR%%/BLOSUM45.bla
27
%%DATADIR%%/BLOSUM62.bla
28
%%DATADIR%%/BLOSUM80.bla
29
%%DATADIR%%/aa.rnd
30
%%DATADIR%%/blosum30.bla
31
%%DATADIR%%/blosum62.bla
32
%%DATADIR%%/cb.tmf
33
%%DATADIR%%/codon.table
34
%%DATADIR%%/gene.stat
35
%%DATADIR%%/gon120.bla
36
%%DATADIR%%/gon160.bla
37
%%DATADIR%%/gon200.bla
38
%%DATADIR%%/gon250.bla
39
%%DATADIR%%/gon350.bla
40
%%DATADIR%%/human.gf
41
%%DATADIR%%/human.gp
42
%%DATADIR%%/human.stats
43
%%DATADIR%%/idenity.bla
44
%%DATADIR%%/methods
45
%%DATADIR%%/pb.gf
46
%%DATADIR%%/pombe.gf
47
%%DATADIR%%/tm.pri
48
%%DATADIR%%/wise.2
49
%%DATADIR%%/wise.per
50
%%DATADIR%%/worm.gf
51
bin/dba
52
bin/dnal
53
bin/estwise
54
bin/estwisedb
55
bin/genewise
56
bin/genewisedb
57
bin/psw
58
bin/pswdb
59
%%PORTDOCS%%@dirrm %%DOCSDIR%%
60
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
61
@dirrm %%DATADIR%%

Return to bug 176552