summaryrefslogtreecommitdiffstats
path: root/biology/phd2fasta/Makefile
blob: 4ebf299681347e1d2b7f09ee61c161855fc3fe6e (plain)
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
# Created by: Motomichi Matsuzaki <mzaki@biol.s.u-tokyo.ac.jp>
# $FreeBSD$

PORTNAME=	phd2fasta
PORTVERSION=	0.990622.f
CATEGORIES=	biology
MASTER_SITES=	# put the tarball manually
DISTFILES=	phd2fasta-acd-dist.tar.Z

MAINTAINER=	mzaki@m.u-tokyo.ac.jp
COMMENT=	Converter from output files of Phred/Consed to FASTA files

RESTRICTED=	Redistribution is not permitted in any form. You must request the tarball via e-mail. Free for academic use.
.if defined(PACKAGE_BUILDING)
IGNORE=		distribution files must be obtained via the authors
.endif

NO_WRKSUBDIR=	yes

ALL_TARGET=	phd2fasta

BINMODE=	0111	# avoid copying binaries as required by the agreement
BINARIES=	phd2fasta
PLIST_FILES=	bin/phd2fasta

PORTDOCS=	PHD2FASTA.DOC

NO_STAGE=	yes
.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
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud