View | Details | Raw Unified | Return to bug 97310 | Differences between
and this patch

Collapse All | Expand All

(-)fasta3/Makefile (-4 / +1 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	fasta3
9
PORTNAME=	fasta3
10
PORTVERSION=	34.t25.d6
10
PORTVERSION=	34.t25.d7
11
CATEGORIES=	biology
11
CATEGORIES=	biology
12
MASTER_SITES=	ftp://ftp.virginia.edu/pub/fasta/
12
MASTER_SITES=	ftp://ftp.virginia.edu/pub/fasta/
13
DISTNAME=	fasta${PORTVERSION:S/.//g}
13
DISTNAME=	fasta${PORTVERSION:S/.//g}
Lines 43-51 Link Here
43
	@ for file in ${EXTRACT_ONLY}; do \
43
	@ for file in ${EXTRACT_ONLY}; do \
44
	  cd ${WRKSRC} && (${GZCAT} ${DISTDIR}/$${file} | ${SH} >/dev/null); \
44
	  cd ${WRKSRC} && (${GZCAT} ${DISTDIR}/$${file} | ${SH} >/dev/null); \
45
	done
45
	done
46
47
post-extract:
48
	@ cp ${FILESDIR}/Makefile.freebsd ${WRKSRC}
49
46
50
post-install:
47
post-install:
51
	${INSTALL_DATA} ${WRKSRC}/fastlibs ${PREFIX}/etc/fastlibs.sample
48
	${INSTALL_DATA} ${WRKSRC}/fastlibs ${PREFIX}/etc/fastlibs.sample
(-)fasta3/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (fasta34t25d6.shar.Z) = 462419371d55afd787043d2104c461cc
1
MD5 (fasta34t25d7.shar.Z) = e809d321f2577c02550a4e0364a92494
2
SHA256 (fasta34t25d6.shar.Z) = 409abdf657931cb07ea2ae38587d9387d418436662f1c1b889a3829302656449
2
SHA256 (fasta34t25d7.shar.Z) = 94545124dfdb5f590bdb38da62d074db8b5696ab6e0ccbe5e0e821d1894c88fe
3
SIZE (fasta34t25d6.shar.Z) = 798483
3
SIZE (fasta34t25d7.shar.Z) = 811798
(-)fasta3/files/Makefile.freebsd (-67 lines)
Lines 1-67 Link Here
1
#
2
# Makefile for building fasta3 on FreeBSD
3
#
4
# Fernan Aguero - <fernan@iib.unsam.edu.ar>
5
6
# we take care of doing variable assignment using the '?=' and '+='
7
# operators to preserve the value of variables if they are already
8
# defined. In FreeBSD this happens when fasta3 is build from the port or
9
# when the user has set these variables -- most notably CC and/or CFLAGS
10
# -- in /etc/make.conf
11
12
# Compiler executable, and optional flags
13
CC?=		gcc
14
CFLAGS?=	-g -O2
15
16
# your FASTA host
17
FASTA_HOST?=	"your_fasta_host"
18
19
# common CFLAGS. These are the set of CFLAGS that are always used
20
COMMON_CFLAGS=	-DSHOWSIM -DUNIX -DTIMES -DHZ=100 -c -DMAX_WORKERS=2 \
21
		-DTHR_EXIT=pthread_exit -DPROGRESS -DUSE_MMAP -D_REENTRANT \
22
		-D_LARGE_FILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO \
23
		-DHAS_INTTYPES -DSAMP_STATS
24
25
# standard options, these will be added to the common CFLAGS if
26
# selected below
27
STANDARD_CFLAGS=	-DSFCHAR="':'" -DFASTA_HOST='${FASTA_HOST}' \
28
			-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DPGM_DOC
29
30
# options for superfamily validations, these will be added to the common
31
# CFLAGS if selected below
32
SUPERFAMILY_CFLAGS=	-DSFCHAR="'|'" -DSUPERFAMNUM -DBIG_LIB64
33
34
# here we define CFLAGS to be the sum of common flags plus a subset of
35
# optional flags that define our intended use.
36
# The default standard flags are selected by default, although the user
37
# can override this if s/he wants
38
CFLAGS+=	${COMMON_CFLAGS} ${STANDARD_CFLAGS}
39
40
XDIR?=		/usr/local/bin
41
42
LIB_M+=		-lm
43
44
HFLAGS+=	-o
45
NFLAGS+=	-o
46
47
48
49
# FreeBSD users BEWARE! Different threading models ahead!
50
51
# The threading model has changed along the way from FreeBSD-4 to
52
# FreeBSD-6. If you're building fasta3 on your own, you will need to
53
# adjust this accordingly. The default works in FreeBSD-6x (currently
54
# the recommended major version for use in production). Or better yet,
55
# use the biology/fasta3 port from the ports collection, which will use
56
# the correct threading library for your OSVERSION
57
58
THR_SUBS?=	pthr_subs2
59
THR_LIBS?=	-lpthread
60
THR_CC?=	
61
62
DROPNFA_O = drop_nfa.o
63
DROPGSW_O = dropgsw.o
64
DROPRSS_O = dropnsw.o
65
DROPTFA_O = drop_tfa.o
66
67
include Makefile34m.common

Return to bug 97310