diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2013-06-19 13:09:19 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2013-06-19 13:09:19 +0000 |
commit | f0b89089248c0fa3944f7d423ff7f80a6791886d (patch) | |
tree | 82065da4d102dda0bef7a197106bfb02185fa574 /biology | |
parent | 27e8fd72fbefc3ebed39aa38ba74ff685dbe6c67 (diff) | |
download | ports-f0b89089248c0fa3944f7d423ff7f80a6791886d.tar.gz ports-f0b89089248c0fa3944f7d423ff7f80a6791886d.zip |
Notes
Diffstat (limited to 'biology')
-rw-r--r-- | biology/seqio/Makefile | 44 |
1 files changed, 17 insertions, 27 deletions
diff --git a/biology/seqio/Makefile b/biology/seqio/Makefile index 9c7d8327c222..75a307c70efd 100644 --- a/biology/seqio/Makefile +++ b/biology/seqio/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: seqio -# Date created: 17 August 2001 -# Whom: Tony Maher -# +# Created by: Tony Maher # $FreeBSD$ -# PORTNAME= seqio PORTVERSION= 1.2.2 @@ -13,38 +9,32 @@ MASTER_SITES= http://www.cs.ucdavis.edu/~gusfield/ DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org -COMMENT= A set of C functions which can read/write biological sequence files +COMMENT= Set of C functions which can read/write biological sequence files WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} EXAMPLES= example1.c example2.c example3.c example4.c seqio.c \ seqio.h Makefile PROGRAMS= fmtseq grepseq idxseq typeseq wcseq +PLIST_FILES+= ${PROGRAMS:S,^,bin/,} +PORTEXAMPLES= * +PORTDOCS= * + +OPTIONS_DEFINE= DOCS EXAMPLES + +.include <bsd.port.options.mk> do-install: - cd ${WRKSRC}; \ - for file in ${PROGRAMS}; do \ - ${INSTALL_PROGRAM} $$file ${PREFIX}/bin; \ - done -.if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} - cd ${WRKSRC}; \ - for file in ${EXAMPLES}; do \ - ${INSTALL_DATA} $$file ${EXAMPLESDIR}; \ - done + ${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/,} ${PREFIX}/bin +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${EXAMPLESDIR} .endif -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${MKDIR} ${DOCSDIR}/html +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/bioseq.txt ${DOCSDIR} - cd ${WRKSRC}/doc; \ - for file in *.doc; do \ - ${INSTALL_DATA} $$file ${DOCSDIR}; \ - done - cd ${WRKSRC}/html; \ - for file in *.html; do \ - ${INSTALL_DATA} $$file ${DOCSDIR}/html; \ - done + ${INSTALL_DATA} ${WRKSRC}/doc/*.doc ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/html/*.html ${DOCSDIR}/html .endif .include <bsd.port.mk> |