View | Details | Raw Unified | Return to bug 191336 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-21 / +7 lines)
Lines 11-16 Link Here
11
MAINTAINER=	mzaki@m.u-tokyo.ac.jp
11
MAINTAINER=	mzaki@m.u-tokyo.ac.jp
12
COMMENT=	Base calling and quality value assignment on DNA sequencing
12
COMMENT=	Base calling and quality value assignment on DNA sequencing
13
13
14
SUB_FILES=	pkg-message
15
14
RESTRICTED=	Redistribution is not permitted in any form. You must request the tarball via e-mail. Free for academic use.
16
RESTRICTED=	Redistribution is not permitted in any form. You must request the tarball via e-mail. Free for academic use.
15
.if defined(PACKAGE_BUILDING)
17
.if defined(PACKAGE_BUILDING)
16
IGNORE=		distribution files must be obtained via the authors
18
IGNORE=		distribution files must be obtained via the authors
Lines 20-40 Link Here
20
22
21
ALL_TARGET=	phred daev
23
ALL_TARGET=	phred daev
22
24
23
BINMODE=	0111	# avoid copying binaries as required by the agreement
24
BINARIES=	phred daev
25
BINARIES=	phred daev
25
.for f in ${BINARIES}
26
PLIST_FILES+=	bin/${f}
27
.endfor
28
26
29
DATADIR=	${PREFIX}/etc/PhredPar
27
DATADIR=	${PREFIX}/etc/PhredPar
30
DATAFILES=	phredpar.dat
28
DATAFILES=	phredpar.dat
31
.for f in ${DATAFILES}
32
PORTDATA+=	${f}.dist
33
.endfor
34
29
35
PORTDOCS=	NEWS PHRED.DOC DAEV.DOC
30
PORTDOCS=	NEWS PHRED.DOC DAEV.DOC
36
31
37
NO_STAGE=	yes
38
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
39
33
40
.for f in ${DISTFILES}
34
.for f in ${DISTFILES}
Lines 45-67 Link Here
45
39
46
do-install:
40
do-install:
47
.for f in ${BINARIES}
41
.for f in ${BINARIES}
48
	@${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin/
42
	@${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/
49
.endfor
43
.endfor
50
	@${MKDIR} ${DATADIR}
44
	@${MKDIR} ${STAGEDIR}${DATADIR}
51
.for f in ${DATAFILES}
45
.for f in ${DATAFILES}
52
	@${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/${f}.dist
46
	@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}/${f}.sample
53
.endfor
47
.endfor
54
.if ${PORT_OPTIONS:MDOCS}
48
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
55
	@${MKDIR} ${DOCSDIR}
56
.for f in ${PORTDOCS}
49
.for f in ${PORTDOCS}
57
	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
50
	@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
58
.endfor
51
.endfor
59
.endif
60
	@${ECHO} "---------------------------------------------------------------------------"
61
	@${ECHO} "You must set PHRED_PARAMETER_FILE environment variable."
62
	@${ECHO} ""
63
	@${ECHO} "The default parameter file in the distribution is located at:"
64
	@${ECHO} "  ${DATADIR}/phredpar.dat.dist"
65
	@${ECHO} "---------------------------------------------------------------------------"
66
52
67
.include <bsd.port.post.mk>
53
.include <bsd.port.post.mk>
(-)files/pkg-message.in (+6 lines)
Line 0 Link Here
1
-----------------------------------------------------------------------------
2
You must set PHRED_PARAMETER_FILE environment variable.
3
4
The default parameter file in the distribution is located at:
5
%%DATADIR%%/phredpar.dat
6
-----------------------------------------------------------------------------
(-)pkg-plist (+6 lines)
Line 0 Link Here
1
@mode 111
2
bin/daev
3
bin/phred
4
@mode
5
@sample %%DATADIR%%/phredpar.dat.sample
6
@dirrmtry %%DATADIR%%

Return to bug 191336