freebsd-ports/biology/phred/Makefile
Edwin Groothuis 5081af2c64 New port: biology/consed viewing and editing workbench for sequence
assembly

	Consed is a tool for viewing, editing, and finishing sequence
	assemblies.

	The port is constituted of 4 parts:
	biology/phred: base caller with quality evaluation
	biology/phrap: sequence assembler for shotgun sequencing
	biology/consed: workbench
	biology/phd2fasta: small utility

	All these can be used separately; however, most function
	of consed depends on the others.

	Although these programs are licensed freely for academic
	and nonprofit purposes, users have to contact the authors
	to get the softwares.
	Phred (including phd2fasta) and phrap are emailed,
	and consed can be downloaded to a restricted IP address.
	For commercial users, the licensing fee is ca. $10,000 at
	the time of writing.

PR:		ports/118548
Submitted by:	Motomichi Matsuzaki <mzaki@biol.s.u-tokyo.ac.jp>
2008-05-24 07:04:45 +00:00

67 lines
1.8 KiB
Makefile

# New ports collection makefile for: phred
# Date created: 6 December 2007
# Whom: Motomichi Matsuzaki <mzaki@biol.s.u-tokyo.ac.jp>
#
# $FreeBSD$
#
PORTNAME= phred
PORTVERSION= 0.020425.c
CATEGORIES= biology
MASTER_SITES= # put the tarball manually
DISTNAME= ${PORTNAME}-dist-${PORTVERSION:S/0.//}-acd
EXTRACT_SUFX= .tar.Z
MAINTAINER= mzaki@biol.s.u-tokyo.ac.jp
COMMENT= Base calling and quality value assignment on DNA sequencing
RESTRICTED= Redistribution is not permitted in any form. You must request the tarball via e-mail. Free for academic use.
NO_WRKSUBDIR= yes
ALL_TARGET= phred daev
BINMODE= 0111 # avoid copying binaries as required by the agreement
BINARIES= phred daev
.for f in ${BINARIES}
PLIST_FILES+= bin/${f}
.endfor
DATADIR= ${PREFIX}/etc/PhredPar
DATAFILES= phredpar.dat
.for f in ${DATAFILES}
PORTDATA+= ${f}.dist
.endfor
PORTDOCS= NEWS PHRED.DOC DAEV.DOC
.include <bsd.port.pre.mk>
.for f in ${DISTFILES}
.if !exists(${DISTDIR}/${f})
IGNORE= you must request the source code \(${f}\) via e-mail, place it manually in ${DISTDIR}, and then try it again
.endif
.endfor
do-install:
.for f in ${BINARIES}
@${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin/
.endfor
@${MKDIR} ${DATADIR}
.for f in ${DATAFILES}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/${f}.dist
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
@${ECHO} "---------------------------------------------------------------------------"
@${ECHO} "You must set PHRED_PARAMETER_FILE environment variable."
@${ECHO} ""
@${ECHO} "The default parameter file in the distribution is located at:"
@${ECHO} " ${DATADIR}/phredpar.dat.dist"
@${ECHO} "---------------------------------------------------------------------------"
.include <bsd.port.post.mk>