aboutsummaryrefslogtreecommitdiffstats
path: root/biology/fasta3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'biology/fasta3/Makefile')
-rw-r--r--biology/fasta3/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/biology/fasta3/Makefile b/biology/fasta3/Makefile
index 9b1eeef3ae98..f15f6141aaac 100644
--- a/biology/fasta3/Makefile
+++ b/biology/fasta3/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= fasta3
-PORTVERSION= 34.t25.d5
+PORTVERSION= 34.t25.d6
CATEGORIES= biology
MASTER_SITES= ftp://ftp.virginia.edu/pub/fasta/
DISTNAME= fasta${PORTVERSION:S/.//g}
@@ -19,8 +19,13 @@ COMMENT= A collection of programs for searching DNA and protein databases
NO_CDROM= "May not be sold or incorporated into a commercial product"
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= pkg-message
+MAKEFILE= Makefile.freebsd
-MAKE_ENV+= THR_LIBS=${PTHREAD_LIBS}
+XDIR= ${PREFIX}/bin
+FASTA_HOST!= /usr/bin/uname -n
+
+MAKE_ENV+= THR_LIBS=${PTHREAD_LIBS} XDIR=${XDIR} \
+ FASTA_HOST='"${FASTA_HOST}"'
FASTA3_DOCS= README COPYRIGHT FASTA_LIST fasta3x.me fasta3x.doc \
fasta20.doc fasta_func.doc readme.* fasta.defaults
@@ -39,6 +44,9 @@ do-extract:
cd ${WRKSRC} && (${GZCAT} ${DISTDIR}/$${file} | ${SH} >/dev/null); \
done
+post-extract:
+ @ cp ${FILESDIR}/Makefile.freebsd ${WRKSRC}
+
post-install:
${INSTALL_DATA} ${WRKSRC}/fastlibs ${PREFIX}/etc/fastlibs.sample
@ ${MKDIR} ${DATADIR}