aboutsummaryrefslogtreecommitdiff
path: root/biology/phred/Makefile
blob: 9f44b59e9d5f393d5b26a5300e57bed87bb13d41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Created by: Motomichi Matsuzaki <mzaki@biol.s.u-tokyo.ac.jp>

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@m.u-tokyo.ac.jp
COMMENT=	Base calling and quality value assignment on DNA sequencing

# Converted from RESTRICTED
LICENSE=	PHRED
LICENSE_NAME=	phred
LICENSE_TEXT=	Redistribution is not permitted in any form. You must request the tarball via e-mail. Free for academic use.
LICENSE_PERMS=	auto-accept

SUB_FILES=	pkg-message

.if defined(PACKAGE_BUILDING)
IGNORE=		distribution files must be obtained via the authors
.endif

NO_WRKSUBDIR=	yes

ALL_TARGET=	phred daev

BINARIES=	phred daev

DATADIR=	${PREFIX}/etc/PhredPar
DATAFILES=	phredpar.dat

PORTDOCS=	NEWS PHRED.DOC DAEV.DOC

OPTIONS_DEFINE=	DOCS

.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} ${STAGEDIR}${PREFIX}/bin/
.endfor
	@${MKDIR} ${STAGEDIR}${DATADIR}
.for f in ${DATAFILES}
	@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}/${f}.sample
.endfor
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.post.mk>