aboutsummaryrefslogtreecommitdiff
path: root/biology/phred
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2014-08-23 18:04:58 +0000
committerKurt Jaeger <pi@FreeBSD.org>2014-08-23 18:04:58 +0000
commit690da7ea383f1f7ba029563658b17f1a2544007b (patch)
tree23e972a9950cc8d2fbf2c0128d929e3655a093ab /biology/phred
parent652bbb78d901c4cafc5ebcb47f5de9e22c3bee34 (diff)
downloadports-690da7ea383f1f7ba029563658b17f1a2544007b.tar.gz
ports-690da7ea383f1f7ba029563658b17f1a2544007b.zip
update ports:
biology/phrab biology/phred biology/consed Although these programs are licensed freely for academic and nonprofit purposes, users have to contact the authors to obtain the tarballs. PR: 191336 Submitted by: mzaki@m.u-tokyo.ac.jp (maintainer)
Notes
Notes: svn path=/head/; revision=365765
Diffstat (limited to 'biology/phred')
-rw-r--r--biology/phred/Makefile28
-rw-r--r--biology/phred/files/pkg-message.in6
2 files changed, 13 insertions, 21 deletions
diff --git a/biology/phred/Makefile b/biology/phred/Makefile
index 61027fcfe259..06f673b57574 100644
--- a/biology/phred/Makefile
+++ b/biology/phred/Makefile
@@ -11,6 +11,8 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= mzaki@m.u-tokyo.ac.jp
COMMENT= Base calling and quality value assignment on DNA sequencing
+SUB_FILES= pkg-message
+
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
@@ -20,21 +22,13 @@ 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
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.for f in ${DISTFILES}
@@ -45,23 +39,15 @@ IGNORE= you must request the source code \(${f}\) via e-mail, place it manually
do-install:
.for f in ${BINARIES}
- @${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin/
+ @${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/
.endfor
- @${MKDIR} ${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
.for f in ${DATAFILES}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/${f}.dist
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}/${f}.sample
.endfor
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${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>
diff --git a/biology/phred/files/pkg-message.in b/biology/phred/files/pkg-message.in
new file mode 100644
index 000000000000..04ae9ab3ef43
--- /dev/null
+++ b/biology/phred/files/pkg-message.in
@@ -0,0 +1,6 @@
+-----------------------------------------------------------------------------
+You must set PHRED_PARAMETER_FILE environment variable.
+
+The default parameter file in the distribution is located at:
+%%DATADIR%%/phredpar.dat
+-----------------------------------------------------------------------------