pkgsrc-wip/fasta/Makefile
2006-09-09 02:49:32 +00:00

56 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2006/09/09 02:49:32 obache Exp $
#
DISTNAME= fasta3
PKGNAME= fasta-3.4
CATEGORIES= biology
MASTER_SITES= ftp://ftp.virginia.edu/pub/fasta/
EXTRACT_SUFX= .shar.Z
MAINTAINER= hdp@cs.nmsu.edu
HOMEPAGE= http://fasta.bioch.virginia.edu/
COMMENT= FASTA sequence comparison programs
MAKE_FILE= Makefile.NetBSD
WRKSRC= ${WRKDIR}
LICENSE= no-commercial-use
post-extract:
${SED} -e 's:/seqprg/slib/bin:@PREFIX@:' \
-e 's:your.host.here:@HOSTNAME@:' \
${WRKSRC:Q}/${MAKE_FILE:Q} > ${WRKSRC:Q}/${MAKE_FILE:Q}.in
do-configure:
${SED} < ${WRKSRC:Q}/${MAKE_FILE:Q}.in > ${WRKSRC:Q}/${MAKE_FILE:Q} \
-e 's:@PREFIX@:${PREFIX}:' \
-e 's:@HOSTNAME@:fasta.bioch.virginia.edu:'
do-install:
${INSTALL_DATA_DIR} ${PREFIX:Q}/share/doc/fasta
.for f in README.versions README Readme.Mac readme.mpi_3.3 readme.pvm_3.3 \
readme.v30 readme.v30t7 readme.v31t1 readme.v33t0 readme.w32 \
readme.pvm_3.2 readme.pvm_3.4 readme.v30t6 readme.v31t0 \
readme.v32t0 readme.v34t0 fasta20.doc fasta3x.doc fasta_func.doc \
COPYRIGHT FASTA_LIST
${INSTALL_DATA} ${WRKSRC:Q}/${f:Q} ${PREFIX:Q}/share/doc/fasta
.endfor
${INSTALL_DATA} ${WRKSRC:Q}/fasta3x.me ${PREFIX:Q}/${PKGMANDIR}/man1
.for f in fasta3.1 fastf3.1 fasts3.1 map_db.1 prss3.1 pvcomp.1
${INSTALL_DATA} ${WRKSRC:Q}/${f:Q} ${PREFIX:Q}/${PKGMANDIR}/man1
.endfor
.for f in fasta34 fasta34_t fastm34 fastm34_t fasts34 fasts34_t \
fastx34 fastx34_t fasty34 fasty34_t prfx34 prss34 \
ssearch34 ssearch34_t tfasta34 tfasta34_t tfasts34 \
tfasts34_t tfastx34 tfastx34_t tfasty34 tfasty34_t
${INSTALL_PROGRAM} ${WRKSRC:Q}/${f:Q} ${PREFIX:Q}/bin
.endfor
${INSTALL_DATA_DIR} ${PREFIX:Q}/share/examples/fasta
${INSTALL_DATA} ${WRKSRC:Q}/*.aa ${PREFIX:Q}/share/examples/fasta
${INSTALL_DATA} ${WRKSRC:Q}/*.seq ${PREFIX:Q}/share/examples/fasta
${INSTALL_DATA} ${WRKSRC:Q}/*lib ${PREFIX:Q}/share/examples/fasta
${INSTALL_DATA} ${WRKSRC:Q}/fastlibs ${PREFIX:Q}/share/examples/fasta
${INSTALL_DATA} ${WRKSRC:Q}/*.mat ${PREFIX:Q}/share/examples/fasta
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"