1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/biology/fasta3/Makefile
John Marino e06d29ed1c biology/fasta3: Checked new distfile and regenerated distinfo to unbreak
Fasta3 distfile was significantly changed.  This should have been released
as a new version (e.g. 36.3.6e), so it's not clear why the distfile was
rerolled.  There are significant changes to makefiles, conf files and even
a few .c and .h files.  They all look like legitimate updates to me
though.

Set DIST_SUBDIR since this port is now known for rerolling, then
regenerate distinfo.  Also add Fasta license and bump revision.
2014-03-02 10:58:50 +00:00

77 lines
2.3 KiB
Makefile

# Created by: Johann Visagie <johann@egenetics.com>
# $FreeBSD$
PORTNAME= fasta3
PORTVERSION= 36.3.6d
PORTREVISION= 1
CATEGORIES= biology
MASTER_SITES= http://faculty.virginia.edu/wrpearson/fasta/fasta36/
DISTNAME= fasta-${PORTVERSION}
DIST_SUBDIR= fasta3/2014-01-29
MAINTAINER= ports@FreeBSD.org
COMMENT= Collection of programs for searching DNA and protein databases
LICENSE= Fasta
LICENSE_NAME= Fasta program copyright W. Pearson and U.Virginia
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
OPTIONS_DEFINE= DOCS EXAMPLES
NO_CDROM= May not be sold or incorporated into a commercial product
WRKSRC= ${WRKDIR}/${DISTNAME}
BUILD_WRKSRC= ${WRKSRC}/src
INSTALL_WRKSRC= ${BUILD_WRKSRC}
MAKEFILE= Makefile.freebsd
MAKE_ENV= THR_LIBS="-pthread" XDIR="${STAGEDIR}${PREFIX}/bin" \
FASTA_HOST="$$(${UNAME} -n)"
SUB_FILES= pkg-message
PLIST_SUB= VER="${PORTVERSION:R:R}"
MAN1_LINKS= fastf35.1 fasts35.1 fastm35.1 fastx35.1 fasty35.1 \
ggsearch35.1 lalign35.1 ssearch35.1 tfasta35.1 tfastf35.1 \
tfasts35.1 tfastx35.1 tfasty35.1 prfx35.1 prss35.1
MAN1_FILES= fasta36.1 fastf3.1 fasts3.1 prss3.1 map_db.1 ps_lav.1
DOC_FILES= README.versions \
fasta_func.doc readme.* fasta.defaults \
fasta.options fasta_versions.html changes*.html
DATA= data/*.mat
EXAMPLES= seq/*.aa seq/*.lc seq/*.seq seq/*.lib
post-patch:
@${CP} ${WRKSRC}/make/${MAKEFILE} ${BUILD_WRKSRC}
post-install:
(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} * ${STAGEDIR}${PREFIX}/bin)
(cd ${WRKSRC}/conf && ${INSTALL_DATA} fastlibs \
${STAGEDIR}${PREFIX}/etc/fastlibs.sample)
@${MKDIR} ${STAGEDIR}${DATADIR}
.for data in ${DATA}
(cd ${WRKSRC} && ${INSTALL_DATA} ${data} ${STAGEDIR}${DATADIR})
.endfor
.for manpage in ${MAN1_FILES}
(cd ${WRKSRC}/doc && ${INSTALL_MAN} ${manpage} \
${STAGEDIR}${MAN1PREFIX}/man/man1)
.endfor
.for links in ${MAN1_LINKS}
(${LN} -sf fasta36.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/${links})
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in COPYRIGHT FASTA_LIST README
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor
.for docfile in ${DOC_FILES}
(cd ${WRKSRC}/doc && ${INSTALL_DATA} ${docfile} ${STAGEDIR}${DOCSDIR})
.endfor
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for ex in ${EXAMPLES}
(cd ${WRKSRC} && ${INSTALL_DATA} ${ex} ${STAGEDIR}${EXAMPLESDIR})
.endfor
.include <bsd.port.mk>